Commit 5de9e463 authored by oahzxl's avatar oahzxl
Browse files

code format

parent d31e1466
......@@ -49,7 +49,9 @@ def _is_non_compute_node(node):
def _is_non_compute_node_except_placeholder(node):
if (any(i in node.op for i in ["get_attr", "output"]) or any(i in node.name for i in ["getitem", "getattr"])):
if any(i in node.op for i in ["get_attr", "output"]) or any(
i in node.name for i in ["getitem", "getattr"]
):
return True
return False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment