评价此页

torch._foreach_zero_#

torch._foreach_zero_(self: List[Tensor]) None#

torch.zero() 应用于输入列表中的每个 Tensor。