\brief Get shape of an input or output tensor. \param tensorName The name of an input or output tensor. \return shape of the tensor, with -1 in place of each dynamic runtime dimension, or Dims{-1, {}} if the provided name does not map to an input or output tensor. \warning The string tensorName must be null-terminated, and be at most 4096 bytes including the terminator.
| 1665 | //! \warning The string tensorName must be null-terminated, and be at most 4096 bytes including the terminator. |
| 1666 | //! |
| 1667 | Dims getTensorShape(char const* tensorName) const noexcept |
| 1668 | { |
| 1669 | return mImpl->getTensorShape(tensorName); |
| 1670 | } |
| 1671 | |
| 1672 | //! |
| 1673 | //! \brief Determine the required data type for a buffer from its binding index. |
no outgoing calls
no test coverage detected