Shortcuts

torch.Tensor.triu_

Tensor.triu_(diagonal=0) 张量

原地版本的 triu()

优云智算