From 723ee05c025bf755f3d571603ea07f3975b28a0c Mon Sep 17 00:00:00 2001 From: SunAhong1993 Date: Wed, 11 Nov 2020 12:44:06 +0800 Subject: [PATCH] fix the op_mapper bug --- x2paddle/op_mapper/dygraph/tf2paddle/tf_op_mapper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/x2paddle/op_mapper/dygraph/tf2paddle/tf_op_mapper.py b/x2paddle/op_mapper/dygraph/tf2paddle/tf_op_mapper.py index 6ed111f..1518e6f 100644 --- a/x2paddle/op_mapper/dygraph/tf2paddle/tf_op_mapper.py +++ b/x2paddle/op_mapper/dygraph/tf2paddle/tf_op_mapper.py @@ -263,6 +263,7 @@ class TFOpMapper(OpMapper): inputs["shape"] = dims.name layer_attrs["dtype"] = string(input_value.dtype) layer_attrs["fill_value"] = input_value.value + self.paddle_graph.add_layer( "paddle.full", -- GitLab