随机抽样类函数. 1.torch.manual_seed(seed). 设定生成随机数的种子,并返回一个torch._C.Generator对象. 参数:seed(int or long)种子. 2.torch.initial_seed().
確定! 回上一頁