pytorch
e440c370 - [quant] Fix fuse linear pass (#40549)

Commit
4 years ago
[quant] Fix fuse linear pass (#40549) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/40549 Currently we didn't check if %weight_t is produced by `aten::t`, this will fuse some `matmul`/`addmm` that is not 2d to `aten::linear`, which is incorrect Test Plan: Imported from OSS Differential Revision: D22225921 fbshipit-source-id: 9723e82fdbac6d8e1a7ade22f3a9791321ab12b6
Author
Parents
Loading