NVIDIA DeepStream SDK API Reference

6.1.1 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvDsPreProcessTensorParams Struct Reference

Detailed Description

Holds model parameters for tensor preparation.

Definition at line 139 of file 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

guint64 NvDsPreProcessTensorParams::buffer_size = 1

size of tensor buffer

Definition at line 149 of file nvdspreprocess_interface.h.

NvDsDataType NvDsPreProcessTensorParams::data_type

DataType for tensor formation.

Definition at line 151 of file nvdspreprocess_interface.h.

NvBufSurfaceMemType NvDsPreProcessTensorParams::memory_type

Memory Type for tensor formation.

Definition at line 153 of file nvdspreprocess_interface.h.

NvDsPreProcessFormat NvDsPreProcessTensorParams::network_color_format

Holds the network input format.

Definition at line 147 of file nvdspreprocess_interface.h.

NvDsPreProcessNetworkInputOrder NvDsPreProcessTensorParams::network_input_order

network order at which model will work

Definition at line 142 of file nvdspreprocess_interface.h.

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 nvdspreprocess_interface.h.

std::string NvDsPreProcessTensorParams::tensor_name

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

Definition at line 155 of file nvdspreprocess_interface.h.


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