Refactor code to move const prop to convolution 2d replacer. (#35226)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35226
..
Test Plan:
python test/test_xnnpack_integration.py
Imported from OSS
Differential Revision: D20603561
fbshipit-source-id: 5905da9e6b91071c2bc28c323f58936746364b70