diff --git a/src/operators/op_param.h b/src/operators/op_param.h index 77eb9d7a702c1091e6e6406ca042b886aad545ac..27ab4629f011ba25390961b2679fd8f86d213fc3 100644 --- a/src/operators/op_param.h +++ b/src/operators/op_param.h @@ -442,7 +442,7 @@ class ElementwiseAddParam : OpParam { #endif }; -#ifdef ElementwiseMul_OP +#ifdef ELEMENTWISEMUL_OP template class ElementwiseMulParam : OpParam { typedef typename DtypeTensorTrait::gtype GType; @@ -474,7 +474,7 @@ class ElementwiseMulParam : OpParam { #ifdef PADDLE_MOBILE_FPGA private: - fpga::EWAddArgs fpga_EW_mul_args; + fpga::EWMulArgs fpga_EW_mul_args; public: const fpga::EWMulArgs &FpgaArgs() const { return fpga_EW_mul_args; }