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

Method getTensorBytesPerComponent

include/NvInferRuntime.h:1906–1909  ·  view source on GitHub ↗

\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

Source from the content-addressed store, hash-verified

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

Callers 1

getNbErrorsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected