提交 44416659 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!111 Set the child node of a independent scope to independent

Merge pull request !111 from ougongchang/fixbug_graph
......@@ -537,6 +537,7 @@ class Graph:
getattr(target_scope_node, 'add_proxy_input')(scope_node.name, proxy_attr)
for subnode in subnode_map[scope_node.name]:
subnode.independent_layout = True
for target_name, target_attr in dict(getattr(subnode, method)).items():
proxy_attr = dict(edge_type=target_attr['edge_type'])
target_node = self._get_normal_node(node_name=target_name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册