From 45bcf759bdbd40cbdb5f6d578fb8352932869840 Mon Sep 17 00:00:00 2001 From: SunAhong1993 Date: Wed, 4 Nov 2020 15:00:02 +0800 Subject: [PATCH] remove comment --- .../dygraph/caffe2paddle/caffe_op_mapper.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/x2paddle/op_mapper/dygraph/caffe2paddle/caffe_op_mapper.py b/x2paddle/op_mapper/dygraph/caffe2paddle/caffe_op_mapper.py index 865051d..c06babc 100644 --- a/x2paddle/op_mapper/dygraph/caffe2paddle/caffe_op_mapper.py +++ b/x2paddle/op_mapper/dygraph/caffe2paddle/caffe_op_mapper.py @@ -1030,25 +1030,6 @@ class CaffeOpMapper(OpMapper): inputs={"x": self.get_input_name(input)}, outputs=layer_outputs, **layer_attrs) -# self.paddle_graph.add_layer( -# "paddle.nn.functional.normalize", -# inputs={"x": self.get_input_name(input)}, -# outputs=[node.layer_name + "_l2"], -# p=2, -# axis=1) -# graph.add_layer( -# "paddle.to_tensor", -# inputs={}, -# outputs=[node.layer_name + "_param"], -# data="params[{}]".format(string(node.layer_name + ".scale"))) -# inputs_dict = {} -# inputs_dict["x"] = node.layer_name + "_l2" -# inputs_dict["y"] = node.layer_name + "_param" -# self.paddle_graph.add_layer( -# "paddle.multiply", -# inputs=inputs_dict, -# outputs=[node.layer_name], -# axis=-1 if params.channel_shared else 1) def Permute(self, node): assert len( -- GitLab