NVIDIA DeepStream SDK API Reference

9.2 Release
nvdsinferserver::InferDims Struct Reference

Detailed Description

Holds the information about the dimensions of a neural network layer.

Definition at line 151 of file includes/nvdsinferserver/infer_datatypes.h.

Data Fields

unsigned int numDims = 0
 Number of dimensions of the layer. More...
 
int d [NVDSINFER_MAX_DIMS] = {0}
 Size of the layer in each dimension. More...
 
unsigned int numElements = 0
 Number of elements in the layer including all dimensions. More...
 

Field Documentation

◆ d

int nvdsinferserver::InferDims::d = {0}

Size of the layer in each dimension.

Definition at line 156 of file includes/nvdsinferserver/infer_datatypes.h.

◆ numDims

unsigned int nvdsinferserver::InferDims::numDims = 0

Number of dimensions of the layer.

Definition at line 154 of file includes/nvdsinferserver/infer_datatypes.h.

◆ numElements

unsigned int nvdsinferserver::InferDims::numElements = 0

Number of elements in the layer including all dimensions.

Definition at line 158 of file includes/nvdsinferserver/infer_datatypes.h.

Referenced by nvdsinferserver::RefBatchBuffer::getBufOffset(), and nvdsinferserver::RefBatchBuffer::getBufPtr().


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