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