NVIDIA DRIVE OS Linux SDK API Reference

5.1.9.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaTensorMetaData Struct Reference

Detailed Description

Holds the tensor metadata.

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

uint32_t NvMediaTensorMetaData::attrib4D_C

Holds the 4D tensor attribute C.

Definition at line 407 of file nvmedia_tensormetadata.h.

uint32_t NvMediaTensorMetaData::attrib4D_H

Holds the 4D tensor attribute H.

Definition at line 409 of file nvmedia_tensormetadata.h.

uint32_t NvMediaTensorMetaData::attrib4D_N

Holds the 4D tensor attribute N.

Definition at line 405 of file nvmedia_tensormetadata.h.

uint32_t NvMediaTensorMetaData::attrib4D_W

Holds the 4D tensor attribute W.

Definition at line 411 of file nvmedia_tensormetadata.h.

uint32_t NvMediaTensorMetaData::attrib4D_X

Holds the 4D tensor attribute X.

Definition at line 413 of file nvmedia_tensormetadata.h.

uint32_t NvMediaTensorMetaData::bitsPerElement

Holds the bitsPerElement such as NVM_TENSOR_ATTR_BITS_PER_ELEMENT_8/16/32.

Definition at line 401 of file nvmedia_tensormetadata.h.

uint32_t NvMediaTensorMetaData::dataType

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

Definition at line 403 of file nvmedia_tensormetadata.h.

uint32_t NvMediaTensorMetaData::dimSizes[NVMEDIA_TENSOR_MAX_DIMENSIONS]

Holds the size of each dimension.

Definition at line 395 of file nvmedia_tensormetadata.h.

uint32_t NvMediaTensorMetaData::dimsNum

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.

uint32_t NvMediaTensorMetaData::dimsOrder

Holds the order of the dimensions.

Definition at line 399 of file nvmedia_tensormetadata.h.

uint32_t NvMediaTensorMetaData::dimstrides[NVMEDIA_TENSOR_MAX_DIMENSIONS]

Holds strides(in bytes) for each dimension present in the tensor.

Definition at line 397 of file nvmedia_tensormetadata.h.


The documentation for this struct was generated from the following file: