torch.mtia.seed
- torch.mtia.seed()
Sets the seed for generating random numbers to a random number for the current MTIA device. It’s safe to call this function if MTIA is not available; in that case, it is silently ignored.
Sets the seed for generating random numbers to a random number for the current MTIA device. It’s safe to call this function if MTIA is not available; in that case, it is silently ignored.