NVIDIA DeepStream SDK API Reference

6.4 Release
nvdsinferserver::InferBufferDescription Struct Reference

Detailed Description

Holds the information about a inference buffer.

Definition at line 168 of file infer_datatypes.h.

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

Datatype associated with the buffer.

Definition at line 180 of file infer_datatypes.h.

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

◆ devId

long int nvdsinferserver::InferBufferDescription::devId

Device (GPU) ID where the buffer is allocated.

Definition at line 176 of file infer_datatypes.h.

◆ dims

InferDims nvdsinferserver::InferBufferDescription::dims

Dimensions of the tensor.

Definition at line 184 of file infer_datatypes.h.

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

◆ elementSize

uint32_t nvdsinferserver::InferBufferDescription::elementSize

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

Definition at line 188 of file 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 infer_datatypes.h.

◆ memType

InferMemType nvdsinferserver::InferBufferDescription::memType

Memory type of the buffer allocation.

Definition at line 172 of file infer_datatypes.h.

◆ name

std::string nvdsinferserver::InferBufferDescription::name

Name of the buffer.

Definition at line 192 of file infer_datatypes.h.

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


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