Clear shape information before finalizing graph-mode quantization (#45282)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45282
Test Plan: Imported from OSS
Reviewed By: jerryzh168
Differential Revision: D23909601
Pulled By: bzinodev
fbshipit-source-id: 3062cda46b15a79094a360216c35906afab7c723