TensorRT 11.3.0
nvinfer2::safe::consistency Namespace Reference

Classes

class  IConsistencyChecker
 Validates a TRT engine (Serialized binary blob) More...
 
class  IPluginChecker
 Interface for validating a plugin used in a TensorRT engine. More...
 

Functions

nvinfer2::safe::ErrorCode createConsistencyChecker (IConsistencyChecker *&icc, nvinfer2::safe::ISafeRecorder &recorder, void const *blob, int64_t size, char const *const *pluginBuildLibs=nullptr, int64_t nbPluginBuildLibs=0) noexcept
 Create an instance of an IConsistencyChecker class. More...
 

Function Documentation

◆ createConsistencyChecker()

nvinfer2::safe::ErrorCode nvinfer2::safe::consistency::createConsistencyChecker ( IConsistencyChecker *&  icc,
nvinfer2::safe::ISafeRecorder recorder,
void const *  blob,
int64_t  size,
char const *const *  pluginBuildLibs = nullptr,
int64_t  nbPluginBuildLibs = 0 
)
noexcept

Create an instance of an IConsistencyChecker class.

ISafeRecorder is the error recorder class for the consistency checker.

Parameters
iccThe created consistency checker.
recorderThe error recorder for the consistency checker.
blobThe serialized engine blob.
sizeThe size of the serialized engine blob.
pluginBuildLibsAn array of plugin build library paths. May be nullptr when nbPluginBuildLibs is zero.
nbPluginBuildLibsThe number of entries in pluginBuildLibs.

  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