\brief Return the number of bytes per component of an element, or -1 if the provided name does not map to an input or output tensor. The vector component size is returned if getTensorVectorizedDim() != -1. \param tensorName The name of an input or output tensor. \warning The string tensorName must be null-terminated, and be at most 4096 bytes including the terminator. \warning The function can
| 1904 | //! \see getTensorBytesPerComponent(tensorName, profileIndex) |
| 1905 | //! |
| 1906 | int32_t getTensorBytesPerComponent(char const* tensorName) const noexcept |
| 1907 | { |
| 1908 | return mImpl->getTensorBytesPerComponent(tensorName); |
| 1909 | } |
| 1910 | |
| 1911 | //! |
| 1912 | //! \brief Return the number of bytes per component of an element of given profile, or -1 if the provided name does |