From 191e7085d851b5c065615050e9673d265d8e7a7e Mon Sep 17 00:00:00 2001 From: qnqinan Date: Tue, 14 Aug 2018 16:49:19 +0800 Subject: [PATCH] fix a bug in fusion elementwise add relu op --- src/operators/fusion_elementwise_add_relu_op.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operators/fusion_elementwise_add_relu_op.h b/src/operators/fusion_elementwise_add_relu_op.h index b7e1f24473..b9d662cae5 100644 --- a/src/operators/fusion_elementwise_add_relu_op.h +++ b/src/operators/fusion_elementwise_add_relu_op.h @@ -28,7 +28,7 @@ using std::vector; class FusioneElementwiseAddReluMatcher : public framework::FusionOpMatcher { public: FusioneElementwiseAddReluMatcher() { - node_ = framework::Node(G_OP_TYPE_FUSION_ELEMENTWISE_ADD_RELU); + node_ = framework::Node(G_OP_TYPE_ELEMENTWISE_ADD); node_ > std::make_shared(G_OP_TYPE_RELU); } -- GitLab