TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
nvinfer1::utility::TRTParsedArgs Struct Reference

TRTParsedArgs is returned by getOptions after it has parsed a command line argument list (argv). More...

Collaboration diagram for nvinfer1::utility::TRTParsedArgs:

Public Attributes

std::string errMsg
 
std::vector< std::pair< int, std::vector< std::string > > > values
 
std::vector< std::string > positionalArgs
 

Detailed Description

TRTParsedArgs is returned by getOptions after it has parsed a command line argument list (argv).

errMsg is a string containing an error message if any errors occurred. If it is empty, no errors occurred.

values stores a vector of pairs for each option (ordered by order in the input). Each pair contains an int (the number of occurrences) and a vector of strings (a list of values). The user should know which of these to use, and which options required values. For non-value options, only occurrences is populated. For value-required options, occurrences == # of values. Values do not need to be unique.

positionalArgs stores additional arguments that are passed in without an option (these must not start with a hyphen).

Member Data Documentation

◆ errMsg

std::string nvinfer1::utility::TRTParsedArgs::errMsg

◆ values

std::vector<std::pair<int, std::vector<std::string> > > nvinfer1::utility::TRTParsedArgs::values

◆ positionalArgs

std::vector<std::string> nvinfer1::utility::TRTParsedArgs::positionalArgs

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