diff --git a/paddle/operators/reduce_op.h b/paddle/operators/reduce_op.h index 12ec1fcf4407cc8d3ed58cbb5e619a18bb14fa30..dd6547542d16b0fe336184a0c09a8498027db6ea 100644 --- a/paddle/operators/reduce_op.h +++ b/paddle/operators/reduce_op.h @@ -144,13 +144,9 @@ class ReduceKernel : public framework::OpKernel { if (D == 1) { auto out = EigenScalar::From(*output); - // auto out = EigenTensor::From(*output, dims); - VLOG(0) << "x dims : " << x.rank() << " out dims : " << out.rank(); functor(place, x, out, reduce_dim); } else { auto out = EigenTensor::From(*output, dims); - // VLOG(0) << "x dims : "<< x.dimensions().size() << " out dims : " - // << out.dimensions().size(); functor(place, x, out, reduce_dim); } }