def seed_all(): r"""Sets the seed for generating random numbers to a random number on all GPUs. It's safe to call this function if CUDA is not available; in that case, it is silently ignored. """ _lazy_call(lambda: _C._cuda_seedAll())
def seed_all(): r"""Sets the seed for generating random numbers to a random number on all GPUs.""" _lazy_init() return _C._cuda_seedAll()
def seed_all(): _lazy_init() return _C._cuda_seedAll()