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

Method isConstant

include/NvInferRuntime.h:247–250  ·  view source on GitHub ↗

Return true if expression is a build-time constant.

Source from the content-addressed store, hash-verified

245public:
246 //! Return true if expression is a build-time constant.
247 bool isConstant() const noexcept
248 {
249 return mImpl->isConstant();
250 }
251
252 //! If isConstant(), returns value of the constant.
253 //! If !isConstant(), return std::numeric_limits<int32_t>::min().

Callers 1

getOutputDimensionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected