torch.xpu.get_rng_state_all¶ torch.xpu.get_rng_state_all()[source][source]¶ 返回一个表示所有设备随机数状态的 ByteTensor 列表。 返回类型: list[torch.Tensor]