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

Method getConstantValue

include/NvInferRuntime.h:254–257  ·  view source on GitHub ↗

If isConstant(), returns value of the constant. If !isConstant(), return std::numeric_limits ::min().

Source from the content-addressed store, hash-verified

252 //! If isConstant(), returns value of the constant.
253 //! If !isConstant(), return std::numeric_limits<int32_t>::min().
254 int32_t getConstantValue() const noexcept
255 {
256 return mImpl->getConstantValue();
257 }
258
259protected:
260 apiv::VDimensionExpr* mImpl;

Callers 1

getOutputDimensionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected