Shortcuts

torch.Tensor.zero_

Tensor.zero_() 张量

用零填充 self 张量。

优云智算