\brief Retrieve the binding index for a named tensor. IExecutionContext::enqueueV2() and IExecutionContext::executeV2() require an array of buffers. Engine bindings map from tensor names to indices in this array. Binding indices are assigned at engine build time, and take values in the range [0 ... n-1] where n is the total number of inputs and outputs. To get the binding index of the name in a
| 1585 | //! \see getNbBindings() getBindingName() |
| 1586 | //! |
| 1587 | TRT_DEPRECATED int32_t getBindingIndex(char const* name) const noexcept |
| 1588 | { |
| 1589 | return mImpl->getBindingIndex(name); |
| 1590 | } |
| 1591 | |
| 1592 | //! |
| 1593 | //! \brief Retrieve the name corresponding to a binding index. |
no outgoing calls
no test coverage detected