diff --git a/src/operator/nn/mkldnn/mkldnn_base.cc b/src/operator/nn/mkldnn/mkldnn_base.cc index 5dccba281fd0..318776bc9228 100644 --- a/src/operator/nn/mkldnn/mkldnn_base.cc +++ b/src/operator/nn/mkldnn/mkldnn_base.cc @@ -553,8 +553,9 @@ void OpCheck::Run(mxnet::FCompute fn, const nnvm::NodeAttrs &attrs, for (size_t i = 0; i < out_blobs.size(); i++) out_blobs[i] = outputs[i].data(); fn(attrs, ctx, in_blobs, req, out_blobs); - +#ifndef NDEBUG LOG(INFO) << "test " << attrs.op->name; +#endif size_t num = std::min(outputs.size(), outputs_.size()); num = std::min(num_checks, num); for (size_t i = 0; i < num; i++) {