MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / setCalibrationProfile

Method setCalibrationProfile

include/NvInfer.h:9518–9521  ·  view source on GitHub ↗

\brief Add a calibration profile. Calibration optimization profile must be set if int8 calibration is used to set scales for a network with runtime dimensions. \param profile The new calibration profile, which must satisfy profile->isValid() == true or be nullptr. MIN and MAX values will be overwritten by kOPT. \return True if the calibration profile was set correctly.

Source from the content-addressed store, hash-verified

9516 //! \return True if the calibration profile was set correctly.
9517 //!
9518 bool setCalibrationProfile(IOptimizationProfile const* profile) noexcept
9519 {
9520 return mImpl->setCalibrationProfile(profile);
9521 }
9522
9523 //!
9524 //! \brief Get the current calibration profile.

Callers 3

buildPredictionEngineMethod · 0.80
setupNetworkAndConfigFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected