NVIDIA DeepStream SDK API Reference

9.2 Release
NvDsTensorArray Struct Reference

Detailed Description

Holds information about batched buffers.

Definition at line 140 of file sources/libs/gst-nvdstensor/nvdstensor.h.

Collaboration diagram for NvDsTensorArray:

Data Fields

uint32_t gpuId
 Holds a GPU ID. More...
 
bool isContiguous
 Holds an "is contiguous" flag. More...
 
NvDsTensorMemType memType
 Holds type of memory for buffers in the batch. More...
 
NvDsTensorPrecision precision
 Holds precision for buffers in the batch. More...
 
NvDsTensorFormat format
 Holds the tensor format for buffers in the batch. More...
 
uint32_t arraySize
 Holds the batch size. More...
 
uint32_t numFilled
 Holds the number valid and filled buffers. More...
 
NvDsTensor * tensorArray
 Holds a pointer to an array of batched buffers. More...
 
void * _reserved [STRUCTURE_PADDING]
 

Field Documentation

◆ _reserved

void * NvDsTensorArray::_reserved

Definition at line 163 of file sources/libs/gst-nvdstensor/nvdstensor.h.

◆ arraySize

uint32_t NvDsTensorArray::arraySize

Holds the batch size.

Definition at line 156 of file sources/libs/gst-nvdstensor/nvdstensor.h.

◆ format

NvDsTensorFormat NvDsTensorArray::format

Holds the tensor format for buffers in the batch.

Definition at line 153 of file sources/libs/gst-nvdstensor/nvdstensor.h.

◆ gpuId

uint32_t NvDsTensorArray::gpuId

Holds a GPU ID.

Valid only for a multi-GPU system.

Definition at line 142 of file sources/libs/gst-nvdstensor/nvdstensor.h.

◆ isContiguous

bool NvDsTensorArray::isContiguous

Holds an "is contiguous" flag.

If set, memory allocated for the batch is contiguous.

Definition at line 146 of file sources/libs/gst-nvdstensor/nvdstensor.h.

◆ memType

NvDsTensorMemType NvDsTensorArray::memType

Holds type of memory for buffers in the batch.

Definition at line 149 of file sources/libs/gst-nvdstensor/nvdstensor.h.

◆ numFilled

uint32_t NvDsTensorArray::numFilled

Holds the number valid and filled buffers.

Initialized to zero when an instance of the structure is created.

Definition at line 159 of file sources/libs/gst-nvdstensor/nvdstensor.h.

◆ precision

NvDsTensorPrecision NvDsTensorArray::precision

Holds precision for buffers in the batch.

Definition at line 151 of file sources/libs/gst-nvdstensor/nvdstensor.h.

◆ tensorArray

NvDsTensor * NvDsTensorArray::tensorArray

Holds a pointer to an array of batched buffers.

Definition at line 161 of file sources/libs/gst-nvdstensor/nvdstensor.h.


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