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

Method getShapeValues

include/NvInferRuntime.h:1406–1409  ·  view source on GitHub ↗

\brief Get the minimum / optimum / maximum values for an input shape tensor. If the shape values have not been set previously with setShapeValues(), this returns nullptr. \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

1404 //! \warning The string inputName must be null-terminated, and be at most 4096 bytes including the terminator.
1405 //!
1406 int32_t const* getShapeValues(char const* inputName, OptProfileSelector select) const noexcept
1407 {
1408 return mImpl->getShapeValues(inputName, select);
1409 }
1410
1411 //!
1412 //! \brief Set a target for extra GPU memory that may be used by this profile.

Callers 1

pyCore.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected