TensorRT 8.6.1
nvinfer1::IInt8EntropyCalibrator Class Reference

#include <NvInfer.h>

Inheritance diagram for nvinfer1::IInt8EntropyCalibrator:

Public Member Functions

CalibrationAlgoType getAlgorithm () noexcept override
virtual ~IInt8EntropyCalibrator () noexcept=default
- 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[], char const *names[], int32_t nbBindings) noexcept=0
 Get a batch of input for calibration. More...
virtual void const * readCalibrationCache (std::size_t &length) noexcept=0
 Load a calibration cache. More...
virtual void writeCalibrationCache (void const *ptr, std::size_t length) noexcept=0
 Save a calibration cache. More...
virtual ~IInt8Calibrator () noexcept=default

Detailed Description

Entropy calibrator. This is the Legacy Entropy calibrator. It is less complicated than the legacy calibrator and produces better results.

Constructor & Destructor Documentation

◆ ~IInt8EntropyCalibrator()

virtual nvinfer1::IInt8EntropyCalibrator::~IInt8EntropyCalibrator ( )

Member Function Documentation

◆ getAlgorithm()

CalibrationAlgoType nvinfer1::IInt8EntropyCalibrator::getAlgorithm ( )

Signal that this is the entropy calibrator.

Implements nvinfer1::IInt8Calibrator.

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