enum InferenceEngine::Layout

Overview

Layouts that the inference engine supports. More…

#include <ie_common.h>

enum Layout
{
    ANY     = 0,
    NCHW    = 1,
    NHWC    = 2,
    NCDHW   = 3,
    NDHWC   = 4,
    OIHW    = 64,
    GOIHW   = 65,
    OIDHW   = 66,
    GOIDHW  = 67,
    SCALAR  = 95,
    C       = 96,
    CHW     = 128,
    HWC     = 129,
    HW      = 192,
    NC      = 193,
    CN      = 194,
    BLOCKED = 200,
};

Detailed Documentation

Layouts that the inference engine supports.

Enum Values

ANY

“any” layout

NCHW

NCHW layout for input / output blobs.

NHWC

NHWC layout for input / output blobs.

NCDHW

NCDHW layout for input / output blobs.

NDHWC

NDHWC layout for input / output blobs.

OIHW

NDHWC layout for operation weights.

GOIHW

NDHWC layout for operation weights.

OIDHW

NDHWC layout for operation weights.

GOIDHW

NDHWC layout for operation weights.

SCALAR

A scalar layout.

C

A bias layout for operation.

CHW

A single image layout (e.g. for mean image)

HWC

A single image layout (e.g. for mean image)

HW

HW 2D layout.

NC

NC 2D layout.

CN

CN 2D layout.

BLOCKED

A blocked layout.