•
pytorch-doc-2.5中文文档
首页
/
pytorch文档
/
torch._foreach_neg
torch._foreach_neg
torch.
_foreach_neg
(
self
:
List
[
Tensor
]
)
→
List
[
Tensor
]
对输入列表中的每个张量应用
torch.neg()
。
本页目录