changes for pytorch issue 55577 (#66571)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66571
changes for pytorch issue 55577
Test Plan:
Ran test:
python test/test_jit.py TestDict
Reviewed By: tugsbayasgalan
Differential Revision: D31622633
fbshipit-source-id: 171c68a65b1d0bf769b3d95f103daba375e95335