torch.xpu.get_rng_state_all¶ torch.xpu.get_rng_state_all()[源代码][源代码]¶ 返回表示所有设备的随机数状态的 ByteTensor 列表。 返回类型 List[Tensor]