We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8483578 commit e0ef42aCopy full SHA for e0ef42a
paddle/operators/reduce_op.h
@@ -144,13 +144,9 @@ class ReduceKernel : public framework::OpKernel<T> {
144
145
if (D == 1) {
146
auto out = EigenScalar<T>::From(*output);
147
- // auto out = EigenTensor<T, 1>::From(*output, dims);
148
- VLOG(0) << "x dims : " << x.rank() << " out dims : " << out.rank();
149
functor(place, x, out, reduce_dim);
150
} else {
151
auto out = EigenTensor<T, (D - 1)>::From(*output, dims);
152
- // VLOG(0) << "x dims : "<< x.dimensions().size() << " out dims : "
153
- // << out.dimensions().size();
154
155
}
156
0 commit comments