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

Method setBindingDimensions

include/NvInferRuntime.h:2838–2841  ·  view source on GitHub ↗

\brief Set the dynamic dimensions of an input binding. \param bindingIndex index of an input tensor whose dimensions must be compatible with the network definition (i.e. only the wildcard dimension -1 can be replaced with a new dimension >= 0). \param dimensions specifies the dimensions of the input tensor. It must be in the valid range for the currently selected optimization profile, and the co

Source from the content-addressed store, hash-verified

2836 //! \see setInputShape()
2837 //!
2838 TRT_DEPRECATED bool setBindingDimensions(int32_t bindingIndex, Dims dimensions) noexcept
2839 {
2840 return mImpl->setBindingDimensions(bindingIndex, dimensions);
2841 }
2842
2843 //!
2844 //! \brief Set shape of given input.

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected