TensorRT 8.2.5
nvinfer1::consistency::IConsistencyChecker Class Reference

Validates a serialized engine blob. More...

#include <NvInferConsistency.h>

Public Member Functions

bool validate () const noexcept
 Check that a blob that was input to createConsistencyChecker method represents a valid engine. More...
 
virtual ~IConsistencyChecker ()=default
 De-allocates any internally allocated memory.
 

Protected Member Functions

 IConsistencyChecker (const IConsistencyChecker &other)=delete
 
IConsistencyCheckeroperator= (const IConsistencyChecker &other)=delete
 
 IConsistencyChecker (IConsistencyChecker &&other)=delete
 
IConsistencyCheckeroperator= (IConsistencyChecker &&other)=delete
 

Protected Attributes

apiv::VConsistencyCheckermImpl
 

Detailed Description

Validates a serialized engine blob.

Warning
Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.

Member Function Documentation

◆ validate()

bool nvinfer1::consistency::IConsistencyChecker::validate ( ) const
inlinenoexcept

Check that a blob that was input to createConsistencyChecker method represents a valid engine.

Returns
true if the original blob encoded an engine that belongs to valid engine domain with target capability EngineCapability::kSAFETY, false otherwise.

The documentation for this class was generated from the following file: