piotrwolinski-intel commented on code in PR #20987:
URL: https://github.com/apache/incubator-mxnet/pull/20987#discussion_r842769028


##########
src/operator/quantization/dnnl/dnnl_quantize-inl.h:
##########
@@ -67,9 +67,6 @@ static void DNNLQuantizeComputeKer(const 
std::vector<NDArray>& inputs,
   attr.set_output_scales(mask, scales);
   dnnl::engine cpu_engine = mxnet::CpuEngine::Get()->get_engine();
   NDArray in_buffer       = inputs[0];
-  if (inputs[0].IsView() && inputs[0].IsDNNLData())

Review Comment:
    Because reorder is handled by the DNNLRun function.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to