Rate this Page

torch.xpu.get_rng_state_all#

torch.xpu.get_rng_state_all()[source]#

Return a list of ByteTensor representing the random number states of all devices.

Return type

list[torch.Tensor]