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

Method getNbShapeValues

include/NvInferRuntime.h:1394–1397  ·  view source on GitHub ↗

\brief Get the number of values for an input shape tensor. This will return the number of shape values if setShapeValues() has been called before for this input tensor. Otherwise, return -1. \warning The string inputName must be null-terminated, and be at most 4096 bytes including the terminator.

Source from the content-addressed store, hash-verified

1392 //! \warning The string inputName must be null-terminated, and be at most 4096 bytes including the terminator.
1393 //!
1394 int32_t getNbShapeValues(char const* inputName) const noexcept
1395 {
1396 return mImpl->getNbShapeValues(inputName);
1397 }
1398
1399 //!
1400 //! \brief Get the minimum / optimum / maximum values for an input shape tensor.

Callers 1

pyCore.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected