Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Xia-Weiwen committed Oct 29, 2022
1 parent ea0dd3a commit 0bae9de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/quantization/fx/test_quantize_fx.py
Original file line number Diff line number Diff line change
Expand Up @@ -5312,9 +5312,9 @@ def forward(self, x):
x = torch.randn(4, 4, 4, 4)
# torch.channel_shuffle is equivalent to torch.nn.functional.channel_shuffle
model_node_pairs = [
(M1().eval(), ns.call_module(torch.nn.ChannelShuffle)),
(M2().eval(), ns.call_function(torch.channel_shuffle)),
(M3().eval(), ns.call_function(torch.channel_shuffle))
(M1().eval(), ns.call_module(torch.nn.ChannelShuffle)),
(M2().eval(), ns.call_function(torch.channel_shuffle)),
(M3().eval(), ns.call_function(torch.channel_shuffle))
]
for m, node in model_node_pairs:
m = prepare_fx(m, {"": default_qconfig}, example_inputs=(x,))
Expand Down

0 comments on commit 0bae9de

Please sign in to comment.