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

Method createOptimizationProfile

include/NvInfer.h:10109–10112  ·  view source on GitHub ↗

\brief Create a new optimization profile. If the network has any dynamic input tensors, the appropriate calls to setDimensions() must be made. Likewise, if there are any shape input tensors, the appropriate calls to setShapeValues() are required. The builder retains ownership of the created optimization profile and returns a raw pointer, i.e. the users must not attempt to delete the returned poin

Source from the content-addressed store, hash-verified

10107 //! \see IOptimizationProfile
10108 //!
10109 nvinfer1::IOptimizationProfile* createOptimizationProfile() noexcept
10110 {
10111 return mImpl->createOptimizationProfile();
10112 }
10113
10114 //!
10115 //! \brief Set the ErrorRecorder for this interface

Callers 4

buildPredictionEngineMethod · 0.80
setupNetworkAndConfigFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected