torch.cuda.initial_seed torch.cuda.initial_seed() Return the current random seed of the current GPU. Return type: int