torch.mps.get_rng_state
- torch.mps.get_rng_state(device='mps')
Returns the random number generator state as a ByteTensor.
- Parameters:
device (torch.device or ) – The device to return the RNG state of. Default: (i.e., , the current MPS device).
Returns the random number generator state as a ByteTensor.
device (torch.device or ) – The device to return the RNG state of. Default: (i.e., , the current MPS device).
'mps'torch.device('mps')