Shortcuts

torch._foreach_neg

torch._foreach_neg(self: List[张量]) List[张量]

对输入列表中的每个张量应用 torch.neg()

优云智算