Skip to content

Commit cf41b57

Browse files
Martin LindströmMartin Lindström
authored andcommitted
Add missing negation
Signed-off-by: Martin Lindström <[email protected]> Change-Id: I9779c5c86215dc8223b3ef95e4fca7f8fc655e9c
1 parent 1812555 commit cf41b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/arm/_passes/decompose_batch_norm_no_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def call(self, graph_module: torch.fx.GraphModule) -> PassResult: # noqa: C901
5656
if (
5757
node.op != "call_function"
5858
or node.target not in bn_ops
59-
or self.allowed_to_transform(node.meta)
59+
or not self.allowed_to_transform(node.meta)
6060
):
6161
continue
6262

0 commit comments

Comments
 (0)