提交 723ee05c 编写于 作者: S SunAhong1993

fix the op_mapper bug

上级 35c45b33
...@@ -263,6 +263,7 @@ class TFOpMapper(OpMapper): ...@@ -263,6 +263,7 @@ class TFOpMapper(OpMapper):
inputs["shape"] = dims.name inputs["shape"] = dims.name
layer_attrs["dtype"] = string(input_value.dtype) layer_attrs["dtype"] = string(input_value.dtype)
layer_attrs["fill_value"] = input_value.value layer_attrs["fill_value"] = input_value.value
self.paddle_graph.add_layer( self.paddle_graph.add_layer(
"paddle.full", "paddle.full",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册