[quant][core] Refactor qat conv implementation to use the same _ConvNd as base class (#74505)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74505
att, this is to make supporting conv1d easier in future PR
Test Plan:
python test/test_quantization.py TestQuantizeFx.test_conv_bn_relu
Imported from OSS
Reviewed By: vkuzo
Differential Revision: D35031523
fbshipit-source-id: b630eeef49cd25e939a9891535d05c62cbad0114
(cherry picked from commit 563c7897de6755af81c71216fa58b624cc59b31d)