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

The SampleParams structure groups the basic parameters required by all sample networks. More...

Inheritance diagram for samplesCommon::SampleParams:
Collaboration diagram for samplesCommon::SampleParams:

Public Attributes

int32_t batchSize {1}
 Number of inputs in a batch. More...
 
int32_t dlaCore {-1}
 Specify the DLA core to run network on. More...
 
bool int8 {false}
 Allow runnning the network in Int8 mode. More...
 
bool fp16 {false}
 Allow running the network in FP16 mode. More...
 
std::vector< std::string > dataDirs
 Directory paths where sample data files are stored. More...
 
std::vector< std::string > inputTensorNames
 
std::vector< std::string > outputTensorNames
 

Detailed Description

The SampleParams structure groups the basic parameters required by all sample networks.

Member Data Documentation

◆ batchSize

int32_t samplesCommon::SampleParams::batchSize {1}

Number of inputs in a batch.

◆ dlaCore

int32_t samplesCommon::SampleParams::dlaCore {-1}

Specify the DLA core to run network on.

◆ int8

bool samplesCommon::SampleParams::int8 {false}

Allow runnning the network in Int8 mode.

◆ fp16

bool samplesCommon::SampleParams::fp16 {false}

Allow running the network in FP16 mode.

◆ dataDirs

std::vector<std::string> samplesCommon::SampleParams::dataDirs

Directory paths where sample data files are stored.

◆ inputTensorNames

std::vector<std::string> samplesCommon::SampleParams::inputTensorNames

◆ outputTensorNames

std::vector<std::string> samplesCommon::SampleParams::outputTensorNames

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