uniform_(from=0, to=1) → Tensor将tensor用从均匀分布中抽样得到的值填充。例如:a=torch.Tensor(2,3).uniform_(-1,1)转载 ...
確定! 回上一頁