We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d34caf commit 545e6a2Copy full SHA for 545e6a2
backends/cadence/aot/remove_ops.py
@@ -808,7 +808,9 @@ def remove_branched(
808
809
810
class RemoveCatFromSliceCopyPass(ExportPass):
811
- def _remove_unused_cat(self, graph_module: torch.fx.GraphModule) -> None:
+ def _remove_unused_cat( # noqa: C901
812
+ self, graph_module: torch.fx.GraphModule
813
+ ) -> None:
814
slice_copy_nodes = [
815
node
816
for node in graph_module.graph.nodes
0 commit comments