TensorRT  8.0.2
nvinfer1::IInt8MinMaxCalibrator Class Reference

#include <NvInfer.h>

Inheritance diagram for nvinfer1::IInt8MinMaxCalibrator:

Public Member Functions

CalibrationAlgoType getAlgorithm () noexcept override
- Public Member Functions inherited from nvinfer1::IInt8Calibrator
virtual int32_t getBatchSize () const noexcept=0
 Get the batch size used for calibration batches. More...
virtual bool getBatch (void *bindings[], const char *names[], int32_t nbBindings) noexcept=0
 Get a batch of input for calibration. More...
virtual const void * readCalibrationCache (std::size_t &length) noexcept=0
 Load a calibration cache. More...
virtual void writeCalibrationCache (const void *ptr, std::size_t length) noexcept=0
 Save a calibration cache. More...

Detailed Description

MinMax Calibrator. It supports per activation tensor scaling.

Member Function Documentation

◆ getAlgorithm()

CalibrationAlgoType nvinfer1::IInt8MinMaxCalibrator::getAlgorithm ( )

Signal that this is the MinMax Calibrator.

Implements nvinfer1::IInt8Calibrator.

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