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