Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is NCHW Format?

Can someone explain to me what is NHCW format? I am working with the Jenson Inference library and for object detection the first step is called "Pre-Process" and it converts the image to NCHW format, but I don't know what this format is.

like image 344
Esteban Gamez Avatar asked Mar 08 '26 08:03

Esteban Gamez


1 Answers

NCHW stands for:

batch N, channels C, depth D, height H, width W

It is a way to store multidimensional arrays / data frames / matrix into memory, which can be considered as a 1-D array. You may have a look to this link for further information. There also exist variants of this format with different ways of "casting" the multidimensional data into one.

like image 79
mranvick Avatar answered Mar 11 '26 07:03

mranvick



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!