[quant] Fixing the output shape for the linear (#44513)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/44513
Test Plan: Imported from OSS
Reviewed By: jerryzh168
Differential Revision: D23637508
Pulled By: z-a-f
fbshipit-source-id: d19d4c1b234b05e8d9813e864863d937b6c35bf5