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

Method getNbBindings

include/NvInferRuntime.h:1559–1562  ·  view source on GitHub ↗

\brief Get the number of binding indices. There are separate binding indices for each optimization profile. This method returns the total over all profiles. If the engine has been built for K profiles, the first getNbBindings() / K bindings are used by profile number 0, the following getNbBindings() / K bindings are used by profile number 1 etc. \deprecated Deprecated in TensorRT 8.5. Superseded

Source from the content-addressed store, hash-verified

1557 //! \see getBindingIndex()
1558 //!
1559 TRT_DEPRECATED int32_t getNbBindings() const noexcept
1560 {
1561 return mImpl->getNbBindings();
1562 }
1563
1564 //!
1565 //! \brief Retrieve the binding index for a named tensor.

Callers 8

pyCore.cppFile · 0.80
setUpInferenceFunction · 0.80
BufferManagerMethod · 0.80
memcpyBuffersMethod · 0.80
getInputOutputNamesMethod · 0.80
BertInferenceMethod · 0.80
allocateBindingsMethod · 0.80
prepareMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected