Clear Shape info in frozen modules (#47511)
Summary:
To ensure the frozen models produced from traced models are not
over-optimized, clear shape info in the frozen model
Fixes #{issue number}
Pull Request resolved: https://github.com/pytorch/pytorch/pull/47511
Reviewed By: eellison
Differential Revision: D24792849
Pulled By: bzinodev
fbshipit-source-id: 5dc7c4d713a113c23d59cabf5541b3c58b075b43