pytorch
7bb97c4c - move TypedStorage handling to assertEqual (#89557)

Commit
2 years ago
move TypedStorage handling to assertEqual (#89557) #85303 added a patch to `torch.testing.assert_close` to handle `torch.storage.TypedStorage`'s. This change is not reflected in the docs and is not intended for the public API. This PR removes the patch ones again and moves the behavior to `TestCase.assertEqual` instead. Meaning, `TypedStorage`'s are again not supported by the public API, but the behavior is the same for all internal use cases. Pull Request resolved: https://github.com/pytorch/pytorch/pull/89557 Approved by: https://github.com/kurtamohler, https://github.com/mruberry
Author
Committer
Parents
Loading