Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[quant][fix] Add bias once in conv_fused (#48593)
Summary: Pull Request resolved: #48593 Previously _conv_forward will add self.bias to the result, so bias is added twice in qat ConvBn module this PR added a bias argument to _conv_forward and _conv_forward is called with zero bias in ConvBn module fixes: #48514 Test Plan: Imported from OSS Reviewed By: raghuramank100 Differential Revision: D25222215 fbshipit-source-id: 90c0ab79835b6d09622dcfec9de4139881a60746
- Loading branch information
1 parent
7a59a1b
commit d2e4298
Showing
4 changed files
with
14 additions
and
12 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
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