Skip to content

Commit

Permalink
[quant][graphmode][fx][fix] Fix typo in fusion (#49183)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #49183

Test Plan: Imported from OSS

Reviewed By: hx89

Differential Revision: D25473367

fbshipit-source-id: 0cd5e6769eeea0923dd104ea90b0192e3475b3ad
  • Loading branch information
jerryzh168 authored and facebook-github-bot committed Dec 11, 2020
1 parent 796b267 commit 2a3bb1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/quantization/fx/fuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def fuse(self, model: GraphModule,
self.modules = dict(input_root.named_modules())

additional_fusion_patterns = \
fuse_custom_config_dict.get("additional_quant_pattern", {})
fuse_custom_config_dict.get("additional_fusion_pattern", {})
fusion_patterns = get_combined_dict(
get_default_fusion_patterns(), additional_fusion_patterns)
# find fusion
Expand Down

0 comments on commit 2a3bb1c

Please sign in to comment.