Shortcuts

torch.Tensor.normal_

Tensor.normal_(mean=0, std=1, *, generator=None) 张量

用从正态分布中采样的元素填充 self 张量,该正态分布由 meanstd 参数化。

优云智算