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

Method setExecutionContext

include/NvInferRuntime.h:3615–3618  ·  view source on GitHub ↗

\brief Set an execution context as the inspection source. Setting the execution context and specifying all the input shapes allows the inspector to calculate concrete dimensions for any dynamic shapes and display their format information. Otherwise, values dependent on input shapes will be displayed as -1 and format information will not be shown. Passing nullptr will remove any association with

Source from the content-addressed store, hash-verified

3613 //! \return Whether the action succeeds.
3614 //!
3615 bool setExecutionContext(IExecutionContext const* context) noexcept
3616 {
3617 return mImpl->setExecutionContext(context);
3618 }
3619
3620 //!
3621 //! \brief Get the context currently being inspected.

Callers 1

getLayerInformationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected