NVIDIA DeepStream SDK API Reference

8.0 Release
NvDsInferLayerInfo Struct Reference

Detailed Description

Holds information about one layer in the model.

Definition at line 91 of file sources/includes/nvdsinfer.h.

Collaboration diagram for NvDsInferLayerInfo:

Data Fields

NvDsInferDataType dataType
 Holds the data type of the layer. More...
 
union {
   NvDsInferDims   inferDims
 
}; 
 Holds the dimensions of the layer. More...
 
int bindingIndex
 Holds the TensorRT binding index of the layer. More...
 
const char * layerName
 Holds the name of the layer. More...
 
void * buffer
 Holds a pointer to the buffer for the layer data. More...
 
int isInput
 Holds a Boolean; true if the layer is an input layer, or false if an output layer. More...
 
union {
   NvDsInferDims   inferDims
 
}; 
 Holds the dimensions of the layer. More...
 

Field Documentation

◆ @18

union { ... }

Holds the dimensions of the layer.

◆ @58

union { ... }

Holds the dimensions of the layer.

◆ bindingIndex

int NvDsInferLayerInfo::bindingIndex

Holds the TensorRT binding index of the layer.

Definition at line 101 of file sources/includes/nvdsinfer.h.

◆ buffer

void * NvDsInferLayerInfo::buffer

Holds a pointer to the buffer for the layer data.

Definition at line 105 of file sources/includes/nvdsinfer.h.

Referenced by deepstream::TensorMetaParser::handleData().

◆ dataType

NvDsInferDataType NvDsInferLayerInfo::dataType

Holds the data type of the layer.

Definition at line 94 of file sources/includes/nvdsinfer.h.

◆ inferDims

NvDsInferDims NvDsInferLayerInfo::inferDims

Definition at line 97 of file sources/includes/nvdsinfer.h.

◆ isInput

int NvDsInferLayerInfo::isInput

Holds a Boolean; true if the layer is an input layer, or false if an output layer.

Definition at line 108 of file sources/includes/nvdsinfer.h.

◆ layerName

const char * NvDsInferLayerInfo::layerName

Holds the name of the layer.

Definition at line 103 of file sources/includes/nvdsinfer.h.


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