torch._foreach_reciprocal_
-
torch._foreach_reciprocal_(self: List[Tensor]) → None -
Применить
torch.reciprocal()к каждому тензору в списке ввода.
© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch._foreach_reciprocal_.html