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

Method getNbOptimizationProfiles

include/NvInfer.h:9461–9464  ·  view source on GitHub ↗

\brief Get number of optimization profiles. This is one higher than the index of the last optimization profile that has be defined (or zero, if none has been defined yet). \return The number of the optimization profiles.

Source from the content-addressed store, hash-verified

9459 //! \return The number of the optimization profiles.
9460 //!
9461 int32_t getNbOptimizationProfiles() const noexcept
9462 {
9463 return mImpl->getNbOptimizationProfiles();
9464 }
9465
9466 //!
9467 //! \brief Set verbosity level of layer information exposed in NVTX annotations and IEngineInspector.

Callers 3

setUpInferenceFunction · 0.45
BertInferenceMethod · 0.45
prepareMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected