pytorch / 1.8.0 / generated / torch.initial_seed.html /

torch.initial_seed

torch.initial_seed() [source]

Returns the initial seed for generating random numbers as a Python long.

© 2019 Torch Contributors
Licensed under the 3-clause BSD License.
https://pytorch.org/docs/1.8.0/generated/torch.initial_seed.html