Rate this Page

torch._foreach_zero_#

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

Apply torch.zero() to each Tensor of the input list.