torch.Tensor.allclose

Tensor.allclose(other, rtol=1e-05, atol=1e-08, equal_nan=False) → Tensor

See torch.allclose()

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.Tensor.allclose.html