By default, TensorFlow uses NHWC format, and most of the image loading APIs, such as OpenCV, are using HWC format. It is naturally compatible with TensorFlow to most of the image loading APIs, so I have been using NHWC format brainlessly for a long while. I believe I had also seen that NCHW is more efficient compared to NHWC when cuDNN is used somewhere.
Tensor Physical Layouts on Memory
Hello Underworld.
leimao.github.io
The private data format in NVDLA is a variant of NCHW, and the difference between NCHW and NHWC in TensorFlow - Programmer Sough
The image data format defines the order in which a batch of image data is stored. The data_format parameter is often seen when calling the TensorFlow API: The default value of data_format is "NHWC", or it can be manually set to "NCHW". This parameter speci
www.programmersought.com
'Master > Master' 카테고리의 다른 글
lhs, rhs (0) | 2021.03.23 |
---|---|
ARM Neon ISA (0) | 2021.03.11 |
Darknet (0) | 2020.10.23 |
VTA(Versatile Tensor Accelerator ) (0) | 2020.10.20 |
FPGA ( field programmable gate array ) (0) | 2020.10.20 |