Detailed Description

Definition at line 387 of file nvmedia_tensormetadata.h.

Data Fields

uint32_t dimsNum
Holds the number of valid elements in dimSizes[] and dimstrides[]. More...

uint32_t dimSizes [NVMEDIA_TENSOR_MAX_DIMENSIONS]
Holds the size of each dimension. More...

uint32_t dimstrides [NVMEDIA_TENSOR_MAX_DIMENSIONS]
Holds strides(in bytes) for each dimension present in the tensor. More...

uint32_t dimsOrder
Holds the order of the dimensions. More...

uint32_t bitsPerElement
Holds the bitsPerElement such as NVM_TENSOR_ATTR_BITS_PER_ELEMENT_8/16/32. More...

uint32_t dataType
Holds the tensor datatype, such as NVM_TENSOR_ATTR_DATA_TYPE_UINT/INT/FLOAT. More...

uint32_t attrib4D_N
Holds the 4D tensor attribute N. More...

uint32_t attrib4D_C
Holds the 4D tensor attribute C. More...

uint32_t attrib4D_H
Holds the 4D tensor attribute H. More...

uint32_t attrib4D_W
Holds the 4D tensor attribute W. More...

uint32_t attrib4D_X
Holds the 4D tensor attribute X. More...

Field Documentation

Holds the 4D tensor attribute C.

Definition at line 407 of file nvmedia_tensormetadata.h.

Holds the 4D tensor attribute H.

Definition at line 409 of file nvmedia_tensormetadata.h.

Holds the 4D tensor attribute N.

Definition at line 405 of file nvmedia_tensormetadata.h.

Holds the 4D tensor attribute W.

Definition at line 411 of file nvmedia_tensormetadata.h.

Holds the 4D tensor attribute X.

Definition at line 413 of file nvmedia_tensormetadata.h.

Holds the bitsPerElement such as NVM_TENSOR_ATTR_BITS_PER_ELEMENT_8/16/32.

Definition at line 401 of file nvmedia_tensormetadata.h.

Holds the tensor datatype, such as NVM_TENSOR_ATTR_DATA_TYPE_UINT/INT/FLOAT.

Definition at line 403 of file nvmedia_tensormetadata.h.

Holds the size of each dimension.

Definition at line 395 of file nvmedia_tensormetadata.h.

Holds the number of valid elements in dimSizes[] and dimstrides[].

For example, dimsNum = 4 for NHWC and NCHW, and dimsNum = 5 for NCxHWx.

Definition at line 393 of file nvmedia_tensormetadata.h.