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

Method validate

include/NvInferConsistency.h:46–49  ·  view source on GitHub ↗

\brief Check that a blob that was input to createConsistencyChecker method represents a valid engine. \return true if the original blob encoded an engine that belongs to valid engine domain with target capability EngineCapability::kSAFETY, false otherwise.

Source from the content-addressed store, hash-verified

44 //! target capability EngineCapability::kSAFETY, false otherwise.
45 //!
46 bool validate() const noexcept
47 {
48 return mImpl->validate();
49 }
50
51 //!
52 //! \brief De-allocates any internally allocated memory.

Callers 1

checkSafeEngineFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected