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

Method createExecutionContext

include/NvInferRuntime.h:1758–1761  ·  view source on GitHub ↗

\brief Create an execution context. The execution context created will call setOptimizationProfile(0) implicitly if there are no other execution contexts assigned to optimization profile 0. This functionality is deprecated in TensorRT 8.6 and will instead default all optimization profiles to 0 starting in TensorRT 9.0. If an error recorder has been set for the engine, it will also be passed to th

Source from the content-addressed store, hash-verified

1756 //! \see IExecutionContext::setOptimizationProfile()
1757 //!
1758 IExecutionContext* createExecutionContext() noexcept
1759 {
1760 return mImpl->createExecutionContext();
1761 }
1762
1763 //!
1764 //! \brief Destroy this object;

Callers 11

inferMethod · 0.80
inferMethod · 0.80
inferMethod · 0.80
prepareMethod · 0.80
inferMethod · 0.80
setUpInferenceFunction · 0.80
inferMethod · 0.80
inferMethod · 0.80
inferMethod · 0.80
BertInferenceMethod · 0.80
inferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected