Shortcuts

torch.initial_seed

torch.initial_seed()[源代码]

返回用于生成随机数的初始种子,作为Python long类型。

Return type

int