评价此页

torch.xpu.get_rng_state_all#

torch.xpu.get_rng_state_all()[source]#

返回一个 ByteTensor 列表,表示所有设备的随机数状态。

返回类型

list[torch.Tensor]