You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/12/11 04:35:09 UTC

[GitHub] xinyu-intel commented on a change in pull request #13530: Integrate MKLDNN Conv1d and support 3d layout

xinyu-intel commented on a change in pull request #13530: Integrate MKLDNN Conv1d and support 3d layout
URL: https://github.com/apache/incubator-mxnet/pull/13530#discussion_r240471014
 
 

 ##########
 File path: python/mxnet/contrib/quantization.py
 ##########
 @@ -488,6 +488,9 @@ def quantize_model(sym, arg_params, aux_params,
         A tuple of quantized symbol, quantized arg_params, and aux_params.
     -------
     """
+    if ctx == cpu(0) and len(calib_data.provide_data[0].shape) != 3:
+        raise ValueError('MKL-DNN quantized OPs temporary support 4d layout.')
 
 Review comment:
   done

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services