[quant][graphmode] Add support for functional linear (#40331)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/40331
Test Plan: Imported from OSS
Differential Revision: D22162905
fbshipit-source-id: 3e0320d5f5c267c778af8e2fe4224f8383aab2c8