NVIDIA DeepStream SDK API Reference

6.4 Release
NvDsPreProcessTensorParams Struct Reference

Detailed Description

Holds model parameters for tensor preparation.

Definition at line 139 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

Data Fields

NvDsPreProcessNetworkInputOrder network_input_order
 network order at which model will work More...
 
std::vector< int > network_input_shape
 Hold the network shape - interpreted based on network input order For resnet10 : NCHW = infer-batch-size;height;width;num-channels. More...
 
NvDsPreProcessFormat network_color_format
 Holds the network input format. More...
 
guint64 buffer_size = 1
 size of tensor buffer More...
 
NvDsDataType data_type
 DataType for tensor formation. More...
 
NvBufSurfaceMemType memory_type
 Memory Type for tensor formation. More...
 
std::string tensor_name
 Name of the tensor same as input layer name of model. More...
 

Field Documentation

◆ buffer_size

guint64 NvDsPreProcessTensorParams::buffer_size = 1

size of tensor buffer

Definition at line 149 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ data_type

NvDsDataType NvDsPreProcessTensorParams::data_type

DataType for tensor formation.

Definition at line 151 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ memory_type

NvBufSurfaceMemType NvDsPreProcessTensorParams::memory_type

Memory Type for tensor formation.

Definition at line 153 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ network_color_format

NvDsPreProcessFormat NvDsPreProcessTensorParams::network_color_format

Holds the network input format.

Definition at line 147 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ network_input_order

NvDsPreProcessNetworkInputOrder NvDsPreProcessTensorParams::network_input_order

network order at which model will work

Definition at line 142 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

◆ network_input_shape

std::vector< int > NvDsPreProcessTensorParams::network_input_shape

Hold the network shape - interpreted based on network input order For resnet10 : NCHW = infer-batch-size;height;width;num-channels.

Definition at line 145 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.

Referenced by BufferManager::BufferManager().

◆ tensor_name

std::string NvDsPreProcessTensorParams::tensor_name

Name of the tensor same as input layer name of model.

Definition at line 155 of file gst-plugins/gst-nvdspreprocess/include/nvdspreprocess_interface.h.


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