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

Method getShapeBinding

include/NvInferRuntime.h:2985–2988  ·  view source on GitHub ↗

\brief Get values of an input tensor required for shape calculations or an output tensor produced by shape calculations. \param bindingIndex index of an input or output tensor for which ICudaEngine::isShapeBinding(bindingIndex) is true. \param data pointer to where values will be written. The number of values written is the product of the dimensions returned by getBindingDimensions(bindingIndex

Source from the content-addressed store, hash-verified

2983 //! \see isShapeBinding() getTensorAddress() getOutputTensorAddress()
2984 //!
2985 TRT_DEPRECATED bool getShapeBinding(int32_t bindingIndex, int32_t* data) const noexcept
2986 {
2987 return mImpl->getShapeBinding(bindingIndex, data);
2988 }
2989
2990 //!
2991 //! \brief Whether all dynamic dimensions of input tensors have been specified

Callers 1

context_get_shapeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected