I am guessing it is because of the fact that depthwise convolution in tensorflow doesn’t support ‘BCHW’ format as mentioned in the API reference. But in the actual python code the data_format specified in the depthwise convolution was ‘BCHW’. Can anyone suggest what could be the error ?