pytorch
a8ca042e - rename torch.Assert to torch._assert (#47763)

Commit
4 years ago
rename torch.Assert to torch._assert (#47763) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/47763 Changing the name due to the discussion in https://github.com/pytorch/pytorch/pull/47399. Test Plan: ``` python test/test_utils.py TestAssert.test_assert_true python test/test_fx.py TestFX.test_symbolic_trace_assert python test/test_fx_experimental.py ``` Imported from OSS Reviewed By: ezyang Differential Revision: D24891767 fbshipit-source-id: 01c7a5acd83bf9c962751552780930c242134dd2
Author
Parents
Loading