From d99db05a0842a9200facd7305108fdbc7a4be2e7 Mon Sep 17 00:00:00 2001 From: xiaolil1 Date: Mon, 29 Oct 2018 16:35:10 +0800 Subject: [PATCH] remove data transform after dequantize --- paddle/fluid/operators/dequantize_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/dequantize_op.cc b/paddle/fluid/operators/dequantize_op.cc index aa954b5950d..8c7cec162e5 100644 --- a/paddle/fluid/operators/dequantize_op.cc +++ b/paddle/fluid/operators/dequantize_op.cc @@ -77,7 +77,7 @@ class DeQuantOpKernel : public framework::OpKernel { pipeline.push_back(*reorder_p); stream(stream::kind::eager).submit(pipeline).wait(); - output->set_layout(DataLayout::kMKLDNN); + //output->set_layout(DataLayout::kMKLDNN); output->set_format(GetMKLDNNFormat(dst_memory)); } -- GitLab