NVIDIA DeepStream SDK API Reference

9.2 Release
nvdsinferserver::InferBufferDescription Struct Reference

Detailed Description

Holds the information about a inference buffer.

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

Inheritance diagram for nvdsinferserver::InferBufferDescription:
Collaboration diagram for nvdsinferserver::InferBufferDescription:

Data Fields

InferMemType memType
 Memory type of the buffer allocation. More...
 
long int devId
 Device (GPU) ID where the buffer is allocated. More...
 
InferDataType dataType
 Datatype associated with the buffer. More...
 
InferDims dims
 Dimensions of the tensor. More...
 
uint32_t elementSize
 Per element bytes, except kString (with elementSize is 0) More...
 
std::string name
 Name of the buffer. More...
 
bool isInput
 Boolean indicating input or output buffer. More...
 

Field Documentation

◆ dataType

InferDataType nvdsinferserver::InferBufferDescription::dataType

◆ devId

long int nvdsinferserver::InferBufferDescription::devId

Device (GPU) ID where the buffer is allocated.

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

◆ dims

InferDims nvdsinferserver::InferBufferDescription::dims

◆ elementSize

uint32_t nvdsinferserver::InferBufferDescription::elementSize

Per element bytes, except kString (with elementSize is 0)

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

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

◆ isInput

bool nvdsinferserver::InferBufferDescription::isInput

Boolean indicating input or output buffer.

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

◆ memType

InferMemType nvdsinferserver::InferBufferDescription::memType

Memory type of the buffer allocation.

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

◆ name

std::string nvdsinferserver::InferBufferDescription::name

Name of the buffer.

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

Referenced by nvdsinferserver::CudaTensorBuf::setName().


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