ns for fx: add test case for linear dynamic (#55432)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/55432
As titled.
Test Plan:
python test/test_quantization.py TestFXNumericSuiteCoreAPIs.test_extract_weights_dynamic
Imported from OSS
Reviewed By: hx89
Differential Revision: D27622416
fbshipit-source-id: 319cfc0401e843006cafe4c6a272cb4d7462db18