TensorRT 8.2.5
|
#include <NvInfer.h>
Public Member Functions | |
CalibrationAlgoType | getAlgorithm () noexcept override |
![]() | |
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... | |
Entropy calibrator 2. This is the preferred calibrator. This is the required calibrator for DLA, as it supports per activation tensor scaling.
|
inlineoverridevirtualnoexcept |
Signal that this is the entropy calibrator 2.
Implements nvinfer1::IInt8Calibrator.
Copyright © 2024 NVIDIA Corporation
Privacy Policy |
Manage My Privacy |
Do Not Sell or Share My Data |
Terms of Service |
Accessibility |
Corporate Policies |
Product Security |
Contact