mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Summary: as title. We were using AT_ASSERT, which is newly deprecated. In this case, we do in fact want an internal assertion since this is used in testing code to describe expected behavior. Pull Request resolved: https://github.com/pytorch/pytorch/pull/20555 Differential Revision: D15362964 Pulled By: suo fbshipit-source-id: 984bfe71a774571611f3bbd81767d3cdb878a6fd