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

Method getBindingDimensions

include/NvInferRuntime.h:1652–1655  ·  view source on GitHub ↗

\brief Get the dimensions of a binding. \param bindingIndex The binding index. \return The dimensions of the binding if the index is in range, otherwise Dims(). Has -1 for any dimension that varies within the optimization profile. For example, suppose an INetworkDefinition has an input with shape [-1,-1] that becomes a binding b in the engine. If the associated optimization profile specifies th

Source from the content-addressed store, hash-verified

1650 //! \see getTensorShape()
1651 //!
1652 TRT_DEPRECATED Dims getBindingDimensions(int32_t bindingIndex) const noexcept
1653 {
1654 return mImpl->getBindingDimensions(bindingIndex);
1655 }
1656
1657 //!
1658 //! \brief Get shape of an input or output tensor.

Callers 11

context_get_shapeFunction · 0.45
engine_get_binding_shapeFunction · 0.45
getTensorInfoMethod · 0.45
IExecutionContext>Method · 0.45
getBindingDimensionsFunction · 0.45
BufferManagerMethod · 0.45
getInputOutputNamesMethod · 0.45
buildMethod · 0.45
getBindingDimensionsMethod · 0.45
inferMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected