Is NCHW channels-first or channels-last in TensorFlow?

Ask Questions Forum: ask Machine Learning Questions to our readersCategory: TensorFlow/KerasIs NCHW channels-first or channels-last in TensorFlow?
Chris Staff asked 3 weeks ago
1 Answers
Best Answer
Chris Staff answered 3 weeks ago

It’s channels-first.

NCHW stands for Number of samples, Channels, Height and Width.

Source: https://www.tensorflow.org/api_docs/python/tf/nn/conv2d

Your Answer

6 + 2 =