TensorArrangementType

Description

Describes the organization of a tensor.

Structure Definition

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

Parameters

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.