未验证 提交 d8229e7c 编写于 作者: S SunAhong1993 提交者: GitHub

Merge pull request #28 from PaddlePaddle/develop

merge
__version__ = "1.0.0rc1"
__version__ = "1.0.1"
from .core.program import PaddleGraph
......
......@@ -1193,7 +1193,7 @@ class OpSet9():
}
self.paddle_graph.add_layer(
paddle_op,
inputs={'x': val_x.name},
inputs={'x': val_x if isinstance(val_x, str) else val_x.name},
outputs=layer_outputs,
**layer_attrs)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册