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