def manual_seed_all(seed): r"""Sets the seed for generating random numbers on all GPUs. Args: seed (int or long): The desired seed. """ _lazy_init() return _C._cuda_manualSeedAll(seed)
def manual_seed_all(seed): r"""Sets the seed for generating random numbers on all GPUs. It's safe to call this function if CUDA is not available; in that case, it is silently ignored. Args: seed (int or long): The desired seed. """ _lazy_call(lambda: _C._cuda_manualSeedAll(seed))
def manual_seed_all(seed): r"""Sets the seed for generating random numbers on all GPUs. It's safe to call this function if CUDA is not available; in that case, it is silently ignored. Args: seed (int): The desired seed. """ seed = int(seed) _lazy_call(lambda: _C._cuda_manualSeedAll(seed))
def manual_seed_all(seed): _lazy_init() return _C._cuda_manualSeedAll(seed)