This repository was archived by the owner on Mar 11, 2021. It is now read-only.

Description
On the one hand, it's more efficient for the CPU to generate NCHW input features.
On the other, TensorFlow supports NHWC convolutions on a wider variety of platforms.
When I added support for NHWC, I coupled the conv data format to the input feature layout.
We should add another option to support different tensor layouts for input features and convolutions, inserting transpose operations as necessary.