Skip to content

Commit 545e6a2

Browse files
authored
Fix cadence remove_ops lint violation (#9076)
1 parent 1d34caf commit 545e6a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backends/cadence/aot/remove_ops.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,9 @@ def remove_branched(
808808

809809

810810
class RemoveCatFromSliceCopyPass(ExportPass):
811-
def _remove_unused_cat(self, graph_module: torch.fx.GraphModule) -> None:
811+
def _remove_unused_cat( # noqa: C901
812+
self, graph_module: torch.fx.GraphModule
813+
) -> None:
812814
slice_copy_nodes = [
813815
node
814816
for node in graph_module.graph.nodes

0 commit comments

Comments
 (0)