torch.xpu.random.get_rng_state_all torch.xpu.random.get_rng_state_all() Return a list of ByteTensor representing the random number states of all devices. Return type: list[Tensor]