torch.rand(). torch.rand(sizes, out=None) 产生一个服从均匀分布的张量,张量内的数据包含从区间[0,1)的随机数。参数size是一个整数序列,用于定义 ...
確定! 回上一頁