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

TRTOption defines a command line option. More...

Collaboration diagram for nvinfer1::utility::TRTOption:

Public Attributes

char shortName
 Option name in short (single hyphen) form (i.e. -a, -b) More...
 
std::string longName
 Option name in long (double hyphen) form (i.e. –foo, –bar) More...
 
bool valueRequired
 True if a value is needed for an option (i.e. -N 4, –foo bar) More...
 
std::string helpText
 Text to show when printing out the command usage. More...
 

Detailed Description

TRTOption defines a command line option.

At least 1 of shortName and longName must be defined. If bool initialization is undefined behavior on your system, valueRequired must also be explicitly defined. helpText is optional.

Member Data Documentation

◆ shortName

char nvinfer1::utility::TRTOption::shortName

Option name in short (single hyphen) form (i.e. -a, -b)

◆ longName

std::string nvinfer1::utility::TRTOption::longName

Option name in long (double hyphen) form (i.e. –foo, –bar)

◆ valueRequired

bool nvinfer1::utility::TRTOption::valueRequired

True if a value is needed for an option (i.e. -N 4, –foo bar)

◆ helpText

std::string nvinfer1::utility::TRTOption::helpText

Text to show when printing out the command usage.


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