ETcVnDataLayout

Offers image data layouts.

Syntax

Definition:

enum ETcVnDataLayout : ULONGLONG
{
    DL_DEFAULT = 0x0,
    DL_2D_HW   = 0x12,
    DL_2D_WH   = 0x21,
    DL_3D_CHW  = 0x123,
    DL_3D_HWC  = 0x231,
    DL_4D_NCHW = 0x1234,
    DL_4D_NHWC = 0x1342
};

Values

Name

Description

DL_DEFAULT

Unknown

DL_2D_HW

2D data HW, multi/single channel image

DL_2D_WH

2D data WH, multi/single channel image

DL_3D_CHW

3D data CHW, single channel image

DL_3D_HWC

3D data HWC, single channel image

DL_4D_NCHW

4D data NCHW, single channel image

DL_4D_NHWC

4D data NHWC, single channel image