未验证 提交 fc29eaef 编写于 作者: R Ray Liu 提交者: GitHub

Merge pull request #1132 from Eclipsess/develop

fix #1131 #ifdef bug
...@@ -442,7 +442,7 @@ class ElementwiseAddParam : OpParam { ...@@ -442,7 +442,7 @@ class ElementwiseAddParam : OpParam {
#endif #endif
}; };
#ifdef ElementwiseMul_OP #ifdef ELEMENTWISEMUL_OP
template <typename Dtype> template <typename Dtype>
class ElementwiseMulParam : OpParam { class ElementwiseMulParam : OpParam {
typedef typename DtypeTensorTrait<Dtype>::gtype GType; typedef typename DtypeTensorTrait<Dtype>::gtype GType;
...@@ -474,7 +474,7 @@ class ElementwiseMulParam : OpParam { ...@@ -474,7 +474,7 @@ class ElementwiseMulParam : OpParam {
#ifdef PADDLE_MOBILE_FPGA #ifdef PADDLE_MOBILE_FPGA
private: private:
fpga::EWAddArgs fpga_EW_mul_args; fpga::EWMulArgs fpga_EW_mul_args;
public: public:
const fpga::EWMulArgs &FpgaArgs() const { return fpga_EW_mul_args; } const fpga::EWMulArgs &FpgaArgs() const { return fpga_EW_mul_args; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册