diff --git a/paddle/operators/mul_op.h b/paddle/operators/mul_op.h index 7bd1f7e759813b7309168a7d2aa253e3fc673b37..e6bad7fb9da2d489666aa67f032552e48a86c6cb 100644 --- a/paddle/operators/mul_op.h +++ b/paddle/operators/mul_op.h @@ -26,9 +26,7 @@ class MulKernel : public framework::OpKernel { public: void Compute(const framework::KernelContext& context) const override { Eigen::array, 1> dim_pair = { - Eigen::IndexPair(1, 0)}; - // dim_pair[0].first = 1; - // dim_pair[0].second = 0; + {Eigen::IndexPair(1, 0)}}; auto input0 = context.Input(0)->Get(); auto input1 = context.Input(1)->Get();