[DNNL] NCHW vs NHWC performance
Created by: jczaja
Recently DNNL (formerly known as MKL-DNN) integration in PaddlePaddle was updated to support NHWC PaddlePaddle layout. Functionally it was tested by unit tests. No performance comparison was made NCHW vs NHWC on MKL-DNN and in my opinion it would valuable to have such a comparison on model level (best convolutional one). Hence there are two options:
- Please provide two versions of model for C-API . One will be NCHW and the other will be NHWC.
- If step 1 is not available then python model where We can change NCHW to NHWC is also good option.