forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[quant] Make conv2d_prepack and linear_prepack pure (pytorch#35073)
Summary: Pull Request resolved: pytorch#35073 We want to do constant propagation for quantize_per_tensor/quantize_per_channel which will produce results that's consumed by these ops, and since we need to make sure the output of the node has no writer before constant prop through the node, the consumer needs to be pure as well. Test Plan: see next PR Imported from OSS Differential Revision: D20655310 fbshipit-source-id: 3e33662224c21b889c8121b823f8ce0b7da75eed
- Loading branch information
1 parent
e1773f2
commit 04a3345
Showing
2 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters