ReID int8 calibrator used for TensorRT int8 precision inference.
Definition at line 78 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
Public Member Functions | |
| TrackerInt8EntropyCalibrator (std::string calibrationTableFile) | |
| Construct a calibrator that reads a serialized calibration table. More... | |
| ~TrackerInt8EntropyCalibrator () | |
| Release resources owned by the TrackerInt8EntropyCalibrator instance. More... | |
| int | getBatchSize () const noexcept override |
| Report the calibrator batch size. More... | |
| bool | getBatch (void *bindings[], const char *names[], int nbBindings) noexcept override |
| Provide a calibration batch when available. More... | |
| const void * | readCalibrationCache (size_t &length) noexcept override |
| Read the calibration table file into a buffer and return a pointer to it. More... | |
| void | writeCalibrationCache (const void *cache, size_t length) noexcept override |
| Accept a generated TensorRT calibration cache. More... | |
| TrackerInt8EntropyCalibrator (std::string calibrationTableFile) | |
| Construct a calibrator that reads a serialized calibration table. More... | |
| ~TrackerInt8EntropyCalibrator () | |
| Release resources owned by the TrackerInt8EntropyCalibrator instance. More... | |
| int | getBatchSize () const noexcept override |
| Report the calibrator batch size. More... | |
| bool | getBatch (void *bindings[], const char *names[], int nbBindings) noexcept override |
| Provide a calibration batch when available. More... | |
| const void * | readCalibrationCache (size_t &length) noexcept override |
| Read the calibration table file into a buffer and return a pointer to it. More... | |
| void | writeCalibrationCache (const void *cache, size_t length) noexcept override |
| Accept a generated TensorRT calibration cache. More... | |
|
inline |
Construct a calibrator that reads a serialized calibration table.
| [in] | calibrationTableFile | Path to the calibration-table file. |
Definition at line 85 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
|
inline |
Release resources owned by the TrackerInt8EntropyCalibrator instance.
Definition at line 90 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
|
inline |
Construct a calibrator that reads a serialized calibration table.
| [in] | calibrationTableFile | Path to the calibration-table file. |
Definition at line 85 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
|
inline |
Release resources owned by the TrackerInt8EntropyCalibrator instance.
Definition at line 90 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
|
inlineoverridenoexcept |
Provide a calibration batch when available.
| [in,out] | bindings | TensorRT input and output bindings. |
| [in] | names | TensorRT binding names. |
| [in] | nbBindings | Number of TensorRT bindings. |
Definition at line 101 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
|
inlineoverridenoexcept |
Provide a calibration batch when available.
| [in,out] | bindings | TensorRT input and output bindings. |
| [in] | names | TensorRT binding names. |
| [in] | nbBindings | Number of TensorRT bindings. |
Definition at line 101 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
|
inlineoverridenoexcept |
Report the calibrator batch size.
Definition at line 93 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
|
inlineoverridenoexcept |
Report the calibrator batch size.
Definition at line 93 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
|
inlineoverridenoexcept |
Read the calibration table file into a buffer and return a pointer to it.
| [out] | length | Calibration-cache size to populate. |
Definition at line 109 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
References half_float::detail::binary, and length().
|
inlineoverridenoexcept |
Read the calibration table file into a buffer and return a pointer to it.
| [out] | length | Calibration-cache size to populate. |
Definition at line 109 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
References half_float::detail::binary, and length().
|
inlineoverridenoexcept |
Accept a generated TensorRT calibration cache.
| [in] | cache | Calibration-cache bytes to write. |
| [out] | length | Calibration-cache size to populate. |
Definition at line 129 of file sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.
|
inlineoverridenoexcept |
Accept a generated TensorRT calibration cache.
| [in] | cache | Calibration-cache bytes to write. |
| [out] | length | Calibration-cache size to populate. |
Definition at line 129 of file 9.2/sources/libs/nvmultiobjecttracker/include/modules/FrameTransform/trtModule.hpp.