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

Method getBindingDimensions

include/NvInferRuntime.h:2889–2892  ·  view source on GitHub ↗

\brief Get the dynamic dimensions of a binding. If the engine was built with an implicit batch dimension, same as ICudaEngine::getBindingDimensions. If setBindingDimensions() has been called on this binding (or if there are no dynamic dimensions), all dimensions will be positive. Otherwise, it is necessary to call setBindingDimensions() before enqueueV2() or executeV2() may be called. If the bi

Source from the content-addressed store, hash-verified

2887 //! \see getTensorShape()
2888 //!
2889 TRT_DEPRECATED Dims getBindingDimensions(int32_t bindingIndex) const noexcept
2890 {
2891 return mImpl->getBindingDimensions(bindingIndex);
2892 }
2893
2894 //!
2895 //! \brief Return the shape of the given input or output.

Callers

nothing calls this directly

Calls 1

getBindingDimensionsMethod · 0.45

Tested by

no test coverage detected