NVIDIA Media Interface: Tensor Metadata Interface
Description: This file defines the Tensor metadata structure to be used for Tensor Interop.
Definition in file nvmedia_tensormetadata.h.
Go to the source code of this file.
Data Structures | |
struct | NvMediaTensorMetaData |
Holds the tensor metadata. More... | |
Macros | |
#define | NVMEDIA_TENSOR_MAX_DIMENSIONS (8u) |
Defines the maximum number of tensor dimensions. More... | |
#define | NVM_TENSOR_ATTR_DIMENSION_ORDER_NHWC (0x00000001u) |
NVM_TENSOR_ATTR_DIMENSION_ORDER flags. More... | |
#define | NVM_TENSOR_ATTR_DIMENSION_ORDER_NCHW (0x00000002u) |
Specifies the NCHW dimension order for 4-D tensors. More... | |
#define | NVM_TENSOR_ATTR_DIMENSION_ORDER_NCxHWx (0x00000003u) |
Specifies the NCxHWCx dimension order for 4-D tensors. More... | |
#define | NVM_TENSOR_ATTR_DATA_TYPE_UINT (0x00000001u) |
Specifies the unsigned integer tensor data type. More... | |
#define | NVM_TENSOR_ATTR_DATA_TYPE_INT (0x00000002u) |
Specifies the integer tensor data type. More... | |
#define | NVM_TENSOR_ATTR_DATA_TYPE_FLOAT (0x00000003u) |
Specifies the float tensor data type. More... | |
#define | NVM_TENSOR_ATTR_BITS_PER_ELEMENT_64 (64U) |
Indicates that each element is 64 bits wide. More... | |
#define | NVM_TENSOR_ATTR_BITS_PER_ELEMENT_32 (32U) |
Indicates that each element is 32 bits wide. More... | |
#define | NVM_TENSOR_ATTR_BITS_PER_ELEMENT_16 (16U) |
Indicates that each element is 16 bits wide. More... | |
#define | NVM_TENSOR_ATTR_BITS_PER_ELEMENT_8 (8U) |
Indicates that each element is 8 bits wide. More... | |
#define | NVM_TENSOR_NHWC_E_STRIDE_INDEX 0U |
Defines the stride index for NHWC element. More... | |
#define | NVM_TENSOR_NHWC_C_STRIDE_INDEX NVM_TENSOR_NHWC_E_STRIDE_INDEX |
Defines the stride index for NHWC channel. More... | |
#define | NVM_TENSOR_NHWC_W_STRIDE_INDEX 1U |
Defines the stride index for NHWC column along the W dimension. More... | |
#define | NVM_TENSOR_NHWC_H_STRIDE_INDEX 2U |
Defines the stride index for NHWC line along the H dimension. More... | |
#define | NVM_TENSOR_NHWC_N_STRIDE_INDEX 3U |
Defines the stride index for NHWC plane along the N dimension. More... | |
#define | NVM_TENSOR_NCHW_E_STRIDE_INDEX 0U |
Defines the stride index for NCHW element. More... | |
#define | NVM_TENSOR_NCHW_W_STRIDE_INDEX NVM_TENSOR_NCHW_E_STRIDE_INDEX |
Defines the stride index for NCHW column along the W dimension. More... | |
#define | NVM_TENSOR_NCHW_H_STRIDE_INDEX 1U |
Defines the stride index for NCHW line along the H dimension. More... | |
#define | NVM_TENSOR_NCHW_C_STRIDE_INDEX 2U |
Defines the stride index for NCHW channel. More... | |
#define | NVM_TENSOR_NCHW_N_STRIDE_INDEX 3U |
Defines the stride index for NCHW plane along the N dimension. More... | |
#define | NVM_TENSOR_NHWC_C_DIMSZ_INDEX 0U |
Defines the C dimension index for NHWC. More... | |
#define | NVM_TENSOR_NHWC_W_DIMSZ_INDEX 1U |
Defines the W dimension index for NHWC. More... | |
#define | NVM_TENSOR_NHWC_H_DIMSZ_INDEX 2U |
Defines the H dimension index for NHWC. More... | |
#define | NVM_TENSOR_NHWC_N_DIMSZ_INDEX 3U |
Defines the N dimension index for NHWC. More... | |
#define | NVM_TENSOR_NCHW_W_DIMSZ_INDEX 0U |
Defines the W dimension index for NCHW. More... | |
#define | NVM_TENSOR_NCHW_H_DIMSZ_INDEX 1U |
Defines the H dimension index for NCHW. More... | |
#define | NVM_TENSOR_NCHW_C_DIMSZ_INDEX 2U |
Defines the C dimension index for NCHW. More... | |
#define | NVM_TENSOR_NCHW_N_DIMSZ_INDEX 3U |
Defines the N dimension index for NCHW. More... | |
#define | NVM_TENSOR_NCxHWx_x_DIMSZ_INDEX 0U |
Defines the x dimension index for NCxHWx. More... | |
#define | NVM_TENSOR_NCxHWx_W_DIMSZ_INDEX 1U |
Defines the W dimension index for NCxHWx. More... | |
#define | NVM_TENSOR_NCxHWx_H_DIMSZ_INDEX 2U |
Defines the H dimension index for NCxHWx. More... | |
#define | NVM_TENSOR_NCxHWx_Cx_DIMSZ_INDEX 3U |
Defines the Cx dimension index for NCxHWx. More... | |
#define | NVM_TENSOR_NCxHWx_N_DIMSZ_INDEX 4U |
Defines the N dimension index for NCxHWx. More... | |
#define | NVM_TENSOR_NCxHWx_E_STRIDE_INDEX 0U |
Defines the stride index for NCxHWx element. More... | |
#define | NVM_TENSOR_NCxHWx_X_STRIDE_INDEX NVM_TENSOR_NCxHWx_E_STRIDE_INDEX |
Defines the stride index for NCxHWx channel. More... | |
#define | NVM_TENSOR_NCxHWx_W_STRIDE_INDEX 1U |
Defines the stride index for NCxHWx column along the W dimension. More... | |
#define | NVM_TENSOR_NCxHWx_H_STRIDE_INDEX 2U |
Defines the stride index for NCxHWx line along the H dimension. More... | |
#define | NVM_TENSOR_NCxHWx_Cx_STRIDE_INDEX 3U |
Defines the stride index for NCxHWx channel along the Cx dimension. More... | |
#define | NVM_TENSOR_NCxHWx_N_STRIDE_INDEX 4U |
Defines the stride index for NCxHWx plane along the N dimension. More... | |