From e7162335dd9b01125fd5ee9a043401a367471fac Mon Sep 17 00:00:00 2001 From: eclipsess Date: Fri, 19 Oct 2018 15:55:40 +0800 Subject: [PATCH] remove i --- src/framework/load_ops.h | 2 +- src/operators/op_param.h | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/src/framework/load_ops.h b/src/framework/load_ops.h index 9f8af44b83..4ba13357dc 100644 --- a/src/framework/load_ops.h +++ b/src/framework/load_ops.h @@ -203,7 +203,7 @@ LOAD_OP1(multiclass_nms, CPU); LOAD_OP1(sum, CPU); #endif #ifdef ELEMENTWISEMUL_OP -LOAD_OP1(elementiwise_mul, CPU); +LOAD_OP1(elementwise_mul, CPU); #endif #ifdef SLICE_OP LOAD_OP2(slice, CPU, MALI_GPU); diff --git a/src/operators/op_param.h b/src/operators/op_param.h index 27ab4629f0..2dd805d284 100644 --- a/src/operators/op_param.h +++ b/src/operators/op_param.h @@ -471,15 +471,6 @@ class ElementwiseMulParam : OpParam { GType *input_y_; GType *out_; int axis_; -#ifdef PADDLE_MOBILE_FPGA - - private: - fpga::EWMulArgs fpga_EW_mul_args; - - public: - const fpga::EWMulArgs &FpgaArgs() const { return fpga_EW_mul_args; } - void SetFpgaArgs(const fpga::EWMulArgs &args) { fpga_EW_mul_args = args; } -#endif }; #endif @@ -596,15 +587,6 @@ class SumParam : public OpParam { Variable *out_var_; vector inputs_; GType *out_; -#ifdef PADDLE_MOBILE_FPGA - - private: - fpga::SumArgs fpga_sum_args; - - public: - const fpga::SumArgs &FpgaArgs() const { return fpga_sum_args; } - void SetFpgaArgs(const fpga::SumArgs &args) { fpga_sum_args = args; } -#endif }; #endif -- GitLab