TensorRT 10.0.1
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. More...
 

Protected Member Functions

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

Protected Attributes

apiv::VConsistencyChecker * mImpl
 

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.

Constructor & Destructor Documentation

◆ ~IConsistencyChecker()

virtual nvinfer1::consistency::IConsistencyChecker::~IConsistencyChecker ( )
virtualdefault

De-allocates any internally allocated memory.

◆ IConsistencyChecker() [1/3]

nvinfer1::consistency::IConsistencyChecker::IConsistencyChecker ( )
protecteddefault

◆ IConsistencyChecker() [2/3]

nvinfer1::consistency::IConsistencyChecker::IConsistencyChecker ( IConsistencyChecker const &  other)
protecteddelete

◆ IConsistencyChecker() [3/3]

nvinfer1::consistency::IConsistencyChecker::IConsistencyChecker ( IConsistencyChecker &&  other)
protecteddelete

Member Function Documentation

◆ operator=() [1/2]

IConsistencyChecker & nvinfer1::consistency::IConsistencyChecker::operator= ( IConsistencyChecker &&  other)
protecteddelete

◆ operator=() [2/2]

IConsistencyChecker & nvinfer1::consistency::IConsistencyChecker::operator= ( IConsistencyChecker const &  other)
protecteddelete

◆ 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.

Member Data Documentation

◆ mImpl

apiv::VConsistencyChecker* nvinfer1::consistency::IConsistencyChecker::mImpl
protected

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

  Copyright © 2024 NVIDIA Corporation
  Privacy Policy | Manage My Privacy | Do Not Sell or Share My Data | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact