NVIDIA DeepStream SDK API Reference

8.0 Release
nvdsinferserver::InferBufferDescription Struct Reference

Detailed Description

Holds the information about a inference buffer.

Definition at line 168 of file sources/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 176 of file sources/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 188 of file sources/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 196 of file sources/includes/nvdsinferserver/infer_datatypes.h.

◆ memType

InferMemType nvdsinferserver::InferBufferDescription::memType

Memory type of the buffer allocation.

Definition at line 172 of file sources/includes/nvdsinferserver/infer_datatypes.h.

◆ name

std::string nvdsinferserver::InferBufferDescription::name

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