未验证 提交 5a2ecdea 编写于 作者: Z zhaoyuchen2018 提交者: GitHub

Fix name_scope test case bug (#20034)

test=develop
Signed-off-by: Nzhaoyuchen <zhaoyuchen01@baidu.com>
上级 7836f477
...@@ -43,3 +43,7 @@ class TestNameScope(unittest.TestCase): ...@@ -43,3 +43,7 @@ class TestNameScope(unittest.TestCase):
self.assertEqual(op.desc.attr("op_namescope"), '/s4/') self.assertEqual(op.desc.attr("op_namescope"), '/s4/')
elif op.type == 'pow': elif op.type == 'pow':
self.assertEqual(op.desc.attr("op_namescope"), '/s1_1/') self.assertEqual(op.desc.attr("op_namescope"), '/s1_1/')
if __name__ == "__main__":
unittest.main()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册