提交 033958c8 编写于 作者: S SunAhong1993

add aten

上级 4d151cf8
...@@ -32,7 +32,6 @@ def prim_Constant(mapper, graph, node): ...@@ -32,7 +32,6 @@ def prim_Constant(mapper, graph, node):
if isinstance(value, str): if isinstance(value, str):
value = string(value) value = string(value)
if str(output_type) == "Tensor": if str(output_type) == "Tensor":
# value = "paddle.to_tensor({})".format(value)
value = "{}".format(value) value = "{}".format(value)
if "inf" in str(value): if "inf" in str(value):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册