Apollo  6.0
Open source self driving car software
Public Member Functions | List of all members
nvinfer1::Int8EntropyCalibrator Class Reference

#include <entropy_calibrator.h>

Inheritance diagram for nvinfer1::Int8EntropyCalibrator:
Inheritance graph
Collaboration diagram for nvinfer1::Int8EntropyCalibrator:
Collaboration graph

Public Member Functions

 Int8EntropyCalibrator (const apollo::perception::inference::BatchStream &stream, int first_batch, bool read_cache, std::string network)
 
virtual ~Int8EntropyCalibrator ()
 
int getBatchSize () const override
 
bool getBatch (void *bindings[], const char *names[], int nbBindings) override
 
const void * readCalibrationCache (size_t &length) override
 
void writeCalibrationCache (const void *cache, size_t length) override
 

Constructor & Destructor Documentation

◆ Int8EntropyCalibrator()

nvinfer1::Int8EntropyCalibrator::Int8EntropyCalibrator ( const apollo::perception::inference::BatchStream stream,
int  first_batch,
bool  read_cache,
std::string  network 
)

◆ ~Int8EntropyCalibrator()

virtual nvinfer1::Int8EntropyCalibrator::~Int8EntropyCalibrator ( )
virtual

Member Function Documentation

◆ getBatch()

bool nvinfer1::Int8EntropyCalibrator::getBatch ( void *  bindings[],
const char *  names[],
int  nbBindings 
)
override

◆ getBatchSize()

int nvinfer1::Int8EntropyCalibrator::getBatchSize ( ) const
inlineoverride

◆ readCalibrationCache()

const void* nvinfer1::Int8EntropyCalibrator::readCalibrationCache ( size_t &  length)
override

◆ writeCalibrationCache()

void nvinfer1::Int8EntropyCalibrator::writeCalibrationCache ( const void *  cache,
size_t  length 
)
override

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