From 773cfe62903e36726c0138c5e139b48b535f54ed Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Fri, 15 Sep 2017 12:05:13 +0800 Subject: [PATCH] Delete unused `USE_OP` in combination op, and unused include in elementwise_mul_op.h --- paddle/operators/elementwise_mul_op.h | 2 -- paddle/operators/minus_op.cc | 2 -- 2 files changed, 4 deletions(-) diff --git a/paddle/operators/elementwise_mul_op.h b/paddle/operators/elementwise_mul_op.h index e9ed6791799..6d58da580b8 100644 --- a/paddle/operators/elementwise_mul_op.h +++ b/paddle/operators/elementwise_mul_op.h @@ -13,10 +13,8 @@ limitations under the License. */ #pragma once -#include #include "paddle/framework/eigen.h" #include "paddle/framework/op_registry.h" -#include "paddle/operators/math/math_function.h" namespace paddle { namespace operators { diff --git a/paddle/operators/minus_op.cc b/paddle/operators/minus_op.cc index 8a583f24edf..1eac8f133bd 100644 --- a/paddle/operators/minus_op.cc +++ b/paddle/operators/minus_op.cc @@ -77,8 +77,6 @@ class MinusGradOp : public NetOp { } // namespace operators } // namespace paddle -USE_OP(scale); -USE_NO_KERNEL_OP(identity); namespace ops = paddle::operators; REGISTER_OP(minus, ops::MinusOp, ops::MinusOpMaker, minus_grad, ops::MinusGradOp); -- GitLab