torch.xpu.get_rng_state_all¶ torch.xpu.get_rng_state_all()[源码][源码]¶ 返回一个列表,其中包含表示所有设备随机数状态的 ByteTensor。 返回类型 list[torch.Tensor]