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

Public Member Functions

void parse (Arguments &arguments) override
 

Static Public Member Functions

static void help (std::ostream &out)
 

Public Attributes

int maxBatch {defaultMaxBatch}
 
int workspace {defaultWorkspace}
 
int minTiming {defaultMinTiming}
 
int avgTiming {defaultAvgTiming}
 
bool tf32 {true}
 
bool refittable {false}
 
bool fp16 {false}
 
bool int8 {false}
 
bool safe {false}
 
bool save {false}
 
bool load {false}
 
bool builderCache {true}
 
nvinfer1::ProfilingVerbosity nvtxMode {nvinfer1::ProfilingVerbosity::kDEFAULT}
 
std::string engine
 
std::string calibration
 
std::unordered_map< std::string, ShapeRangeshapes
 
std::unordered_map< std::string, ShapeRangeshapesCalib
 
std::vector< IOFormatinputFormats
 
std::vector< IOFormatoutputFormats
 
nvinfer1::TacticSources enabledTactics {0}
 
nvinfer1::TacticSources disabledTactics {0}
 

Member Function Documentation

◆ parse()

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

Implements sample::Options.

Here is the caller graph for this function:

◆ help()

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

Member Data Documentation

◆ maxBatch

int sample::BuildOptions::maxBatch {defaultMaxBatch}

◆ workspace

int sample::BuildOptions::workspace {defaultWorkspace}

◆ minTiming

int sample::BuildOptions::minTiming {defaultMinTiming}

◆ avgTiming

int sample::BuildOptions::avgTiming {defaultAvgTiming}

◆ tf32

bool sample::BuildOptions::tf32 {true}

◆ refittable

bool sample::BuildOptions::refittable {false}

◆ fp16

bool sample::BuildOptions::fp16 {false}

◆ int8

bool sample::BuildOptions::int8 {false}

◆ safe

bool sample::BuildOptions::safe {false}

◆ save

bool sample::BuildOptions::save {false}

◆ load

bool sample::BuildOptions::load {false}

◆ builderCache

bool sample::BuildOptions::builderCache {true}

◆ nvtxMode

◆ engine

std::string sample::BuildOptions::engine

◆ calibration

std::string sample::BuildOptions::calibration

◆ shapes

std::unordered_map<std::string, ShapeRange> sample::BuildOptions::shapes

◆ shapesCalib

std::unordered_map<std::string, ShapeRange> sample::BuildOptions::shapesCalib

◆ inputFormats

std::vector<IOFormat> sample::BuildOptions::inputFormats

◆ outputFormats

std::vector<IOFormat> sample::BuildOptions::outputFormats

◆ enabledTactics

nvinfer1::TacticSources sample::BuildOptions::enabledTactics {0}

◆ disabledTactics

nvinfer1::TacticSources sample::BuildOptions::disabledTactics {0}

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