[MKL-DNN] Error throwing on an attempt to usw MKL-DNN kernels with data_format set to NHWC/NDHWC !21191
Created by: jczaja
Release 1.6 MKL-DNN integration is not compatible with data_format attributes ( Batch Norm, Conv, Conv transpose and LRN ) when set to NHWC or NDHWC. In that situation PADDLE_ERROR is raised.
This PR is relevant to #20964