pytorch/torch/testing/__init__.py
Philip Meier d72cd4c4e5 document torch.testing.assert_allclose (#89526)
After our failed attempt to remove `assert_allclose` in #87974, we decided to add it to the documentation after all. Although we drop the expected removal date, the function continues to be deprecated in favor of `assert_close`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/89526
Approved by: https://github.com/mruberry
2022-12-01 11:22:50 +00:00

4 lines
165 B
Python

from torch._C import FileCheck as FileCheck
from ._comparison import assert_allclose, assert_close as assert_close
from ._creation import make_tensor as make_tensor