Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 2237ec3

Browse files

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/operator/nn/mkldnn/mkldnn_base.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ void OpCheck::Run(mxnet::FCompute fn, const nnvm::NodeAttrs &attrs,
553553
for (size_t i = 0; i < out_blobs.size(); i++)
554554
out_blobs[i] = outputs[i].data();
555555
fn(attrs, ctx, in_blobs, req, out_blobs);
556-
557-
LOG(INFO) << "test " << attrs.op->name;
556+
if (dmlc::GetEnv("MXNET_MKLDNN_DEBUG", false))
557+
LOG(INFO) << "test " << attrs.op->name;
558558
size_t num = std::min(outputs.size(), outputs_.size());
559559
num = std::min(num_checks, num);
560560
for (size_t i = 0; i < num; i++) {

0 commit comments

Comments
 (0)