[JIT] Add gradient check in constants (#64613)
authorElias Ellison <eellison@devfair044.h1.fair>
Thu, 9 Sep 2021 15:12:30 +0000 (08:12 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 9 Sep 2021 15:13:57 +0000 (08:13 -0700)
commit3bf93d769cdc39a0228b28b06b7742430e282b14
treec5d615b4519846c85549c25530480a64bded0cc7
parentd4b1016850170deba98c026d1c8494de821b91c7
[JIT] Add gradient check in constants (#64613)

Summary:
fixes internal issue

Pull Request resolved: https://github.com/pytorch/pytorch/pull/64613

Reviewed By: Gamrix

Differential Revision: D30799016

Pulled By: eellison

fbshipit-source-id: 48ef52d1cac627919e6cd232216d24878a2a8b58
test/cpp/jit/test_misc.cpp
torch/csrc/jit/ir/constants.cpp