NVIDIA DeepStream SDK API Reference

6.4 Release
nvdsinfer::ExplicitBuildParams Struct Reference

Detailed Description

Holds build parameters required for full dimensions network.

Definition at line 236 of file nvdsinfer_model_builder.h.

Inheritance diagram for nvdsinfer::ExplicitBuildParams:
Collaboration diagram for nvdsinfer::ExplicitBuildParams:

Public Types

using TensorIOFormat = std::tuple< nvinfer1::DataType, nvinfer1::TensorFormats >
 
using LayerDevicePrecision = std::tuple< nvinfer1::DataType, nvinfer1::DeviceType >
 

Data Fields

std::vector< ProfileDimsinputProfileDims
 
int minBatchSize = 1
 
int optBatchSize = 1
 
int maxBatchSize = 1
 
NvDsInferTensorOrder inputOrder = NvDsInferTensorOrder_kNCHW
 
size_t workspaceSize = kWorkSpaceSize
 
NvDsInferNetworkMode networkMode = NvDsInferNetworkMode_FP32
 
std::string int8CalibrationFilePath
 
int dlaCore = -1
 
std::unordered_map< std::string, TensorIOFormatinputFormats
 
std::unordered_map< std::string, TensorIOFormatoutputFormats
 
std::unordered_map< std::string, LayerDevicePrecisionlayerDevicePrecisions
 

Member Typedef Documentation

◆ LayerDevicePrecision

using nvdsinfer::BuildParams::LayerDevicePrecision = std::tuple<nvinfer1::DataType, nvinfer1::DeviceType>
inherited

Definition at line 200 of file nvdsinfer_model_builder.h.

◆ TensorIOFormat

using nvdsinfer::BuildParams::TensorIOFormat = std::tuple<nvinfer1::DataType, nvinfer1::TensorFormats>
inherited

Definition at line 198 of file nvdsinfer_model_builder.h.

Field Documentation

◆ dlaCore

int nvdsinfer::BuildParams::dlaCore = -1
inherited

Definition at line 205 of file nvdsinfer_model_builder.h.

◆ inputFormats

std::unordered_map<std::string, TensorIOFormat> nvdsinfer::BuildParams::inputFormats
inherited

Definition at line 206 of file nvdsinfer_model_builder.h.

◆ inputOrder

NvDsInferTensorOrder nvdsinfer::ExplicitBuildParams::inputOrder = NvDsInferTensorOrder_kNCHW

Definition at line 245 of file nvdsinfer_model_builder.h.

◆ inputProfileDims

std::vector<ProfileDims> nvdsinfer::ExplicitBuildParams::inputProfileDims

Definition at line 241 of file nvdsinfer_model_builder.h.

◆ int8CalibrationFilePath

std::string nvdsinfer::BuildParams::int8CalibrationFilePath
inherited

Definition at line 204 of file nvdsinfer_model_builder.h.

◆ layerDevicePrecisions

std::unordered_map<std::string, LayerDevicePrecision> nvdsinfer::BuildParams::layerDevicePrecisions
inherited

Definition at line 208 of file nvdsinfer_model_builder.h.

◆ maxBatchSize

int nvdsinfer::ExplicitBuildParams::maxBatchSize = 1

Definition at line 244 of file nvdsinfer_model_builder.h.

◆ minBatchSize

int nvdsinfer::ExplicitBuildParams::minBatchSize = 1

Definition at line 242 of file nvdsinfer_model_builder.h.

◆ networkMode

NvDsInferNetworkMode nvdsinfer::BuildParams::networkMode = NvDsInferNetworkMode_FP32
inherited

Definition at line 203 of file nvdsinfer_model_builder.h.

◆ optBatchSize

int nvdsinfer::ExplicitBuildParams::optBatchSize = 1

Definition at line 243 of file nvdsinfer_model_builder.h.

◆ outputFormats

std::unordered_map<std::string, TensorIOFormat> nvdsinfer::BuildParams::outputFormats
inherited

Definition at line 207 of file nvdsinfer_model_builder.h.

◆ workspaceSize

size_t nvdsinfer::BuildParams::workspaceSize = kWorkSpaceSize
inherited

Definition at line 202 of file nvdsinfer_model_builder.h.


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