TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
sample::InferenceOptions Struct Reference
Inheritance diagram for sample::InferenceOptions:
Collaboration diagram for sample::InferenceOptions:

Public Member Functions

void parse (Arguments &arguments) override
 

Static Public Member Functions

static void help (std::ostream &out)
 

Public Attributes

int batch {defaultBatch}
 
int iterations {defaultIterations}
 
int warmup {defaultWarmUp}
 
int duration {defaultDuration}
 
int sleep {defaultSleep}
 
int streams {defaultStreams}
 
bool overlap {true}
 
bool skipTransfers {false}
 
bool spin {false}
 
bool threads {false}
 
bool graph {false}
 
bool skip {false}
 
bool rerun {false}
 
std::unordered_map< std::string, std::string > inputs
 
std::unordered_map< std::string, std::vector< int > > shapes
 

Member Function Documentation

◆ parse()

void sample::InferenceOptions::parse ( Arguments arguments)
overridevirtual

Implements sample::Options.

◆ help()

void sample::InferenceOptions::help ( std::ostream &  out)
static

Member Data Documentation

◆ batch

int sample::InferenceOptions::batch {defaultBatch}

◆ iterations

int sample::InferenceOptions::iterations {defaultIterations}

◆ warmup

int sample::InferenceOptions::warmup {defaultWarmUp}

◆ duration

int sample::InferenceOptions::duration {defaultDuration}

◆ sleep

int sample::InferenceOptions::sleep {defaultSleep}

◆ streams

int sample::InferenceOptions::streams {defaultStreams}

◆ overlap

bool sample::InferenceOptions::overlap {true}

◆ skipTransfers

bool sample::InferenceOptions::skipTransfers {false}

◆ spin

bool sample::InferenceOptions::spin {false}

◆ threads

bool sample::InferenceOptions::threads {false}

◆ graph

bool sample::InferenceOptions::graph {false}

◆ skip

bool sample::InferenceOptions::skip {false}

◆ rerun

bool sample::InferenceOptions::rerun {false}

◆ inputs

std::unordered_map<std::string, std::string> sample::InferenceOptions::inputs

◆ shapes

std::unordered_map<std::string, std::vector<int> > sample::InferenceOptions::shapes

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