[FFmpeg-devel] DNN data layout CHW or HWC and data normalization or denormalization?

Guo, Yejun yejun.guo at intel.com
Sat Jan 1 04:47:49 EET 2022



-----Original Message-----
From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of Alex
Sent: 2022年1月1日 3:16
To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
Subject: [FFmpeg-devel] DNN data layout CHW or HWC and data normalization or denormalization?

Hi!
Can any one tell me is it layout of DNNData->data are chw or hwc or nchw or nhwc?
And how to perform convertion from hwc to chw and reverse?
How to normalize and denormalize data (-1..0..1 <=> 0...255) ?

Just NHWC is supported now, and patches are welcome.


More information about the ffmpeg-devel mailing list