提交 b968b5ef 编写于 作者: Y Yu Yang

Use context name instead of name

上级 abd6e0cd
......@@ -162,7 +162,7 @@ def __convert_to_v2__(method_name,
parent_layers[pname] = kwargs[pname]
if attach_parent:
pnames = [x.name for x in parent_layers.values()]
pnames = [x.context_name() for x in parent_layers.values()]
for pname in parent_layers:
layers = kwargs[pname]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册