From 130a48cd810da01ba0e85a766519e848c7f362f2 Mon Sep 17 00:00:00 2001 From: jiangjiajun Date: Thu, 5 Nov 2020 12:21:51 +0000 Subject: [PATCH] fix param name --- x2paddle/op_mapper/tf_op_mapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x2paddle/op_mapper/tf_op_mapper.py b/x2paddle/op_mapper/tf_op_mapper.py index 1fd0a4e..d2ed294 100644 --- a/x2paddle/op_mapper/tf_op_mapper.py +++ b/x2paddle/op_mapper/tf_op_mapper.py @@ -545,7 +545,7 @@ class TFOpMapper(OpMapper): program.add_layer( kernel="fluid.layers.pad", - inputs={"input": input.name}, + inputs={"x": input.name}, outputs=[node.name], paddings=paddings) -- GitLab