NVIDIA DeepStream SDK API Reference

9.2 Release
NvDsTensorCreateParams Struct Reference

Detailed Description

Holds parameters required to allocate an NvDsTensor.

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

Data Fields

uint32_t gpuId
 Holds the GPU ID. More...
 
uint32_t n
 
uint32_t c
 
uint32_t h
 
uint32_t w
 
uint32_t size
 Holds the amount of memory to be allocated. More...
 
bool isContiguous
 Holds a "contiguous memory" flag. More...
 
NvDsTensorMemType memType
 Holds the type of memory to be allocated. More...
 
NvDsTensorFormat format
 
NvDsTensorPrecision precision
 

Field Documentation

◆ c

uint32_t NvDsTensorCreateParams::c

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

◆ format

NvDsTensorFormat NvDsTensorCreateParams::format

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

◆ gpuId

uint32_t NvDsTensorCreateParams::gpuId

Holds the GPU ID.

Valid only for a multi-GPU system.

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

◆ h

uint32_t NvDsTensorCreateParams::h

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

◆ isContiguous

bool NvDsTensorCreateParams::isContiguous

Holds a "contiguous memory" flag.

If set, contiguous memory is allocated for the batch. Valid only for CUDA memory types.

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

◆ memType

NvDsTensorMemType NvDsTensorCreateParams::memType

Holds the type of memory to be allocated.

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

◆ n

uint32_t NvDsTensorCreateParams::n

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

◆ precision

NvDsTensorPrecision NvDsTensorCreateParams::precision

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

◆ size

uint32_t NvDsTensorCreateParams::size

Holds the amount of memory to be allocated.

Optional; if set, all other parameters (width, height, etc.) are ignored.

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

◆ w

uint32_t NvDsTensorCreateParams::w

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


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