TensorArrangementType

Function

Describes the organization of a tensor.

Structure Definition

enum TensorArrangementType {
    TYPE_NHWC = 0,
    TYPE_NCHW = 1,
    TYPE_NHW = 2,
    TYPE_NWH = 3
};

Parameter Description

Parameter

Description

TYPE_NHWC

Organizes a tensor in the form of NHWC.

TYPE_NCHW

Organizes a tensor in the form of NCHW.

TYPE_NHW

Organizes a tensor in the form of NHW.

TYPE_NWH

Organizes a tensor in the form of NWH.