pytorch / 2 / generated / torch.cuda.get_rng_state_all.html

torch.cuda.get_rng_state_all

torch.cuda.get_rng_state_all() [source]

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

Return type

List[Tensor]

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.cuda.get_rng_state_all.html