18#ifndef NV_INFER_CONSISTENCY_CHECKER_H
19#define NV_INFER_CONSISTENCY_CHECKER_H
22#define NV_INFER_PLUGIN_CHECKER_POINTER_COUNT_API 1
179 char const*
const* pluginBuildLibs =
nullptr, int64_t nbPluginBuildLibs = 0) noexcept;
Interface for extended recorder which allows error, warn, debug, or info messages to be recorded.
Definition: NvInferSafeRecorder.h:82
Validates a TRT engine (Serialized binary blob)
Definition: NvInferConsistency.h:51
virtual bool validate() noexcept=0
Check that a blob that was input to createConsistencyChecker method represents a valid TRT engine.
Interface for validating a plugin used in a TensorRT engine.
Definition: NvInferConsistency.h:109
IPluginChecker & operator=(IPluginChecker const &other) &=delete
Deleted copy assignment operator to maintain non-copyability.
IPluginChecker(IPluginChecker &&other)=delete
Deleted move constructor to maintain non-movability.
virtual bool validate(TensorDescriptor const *inputs, int32_t nbInputs, TensorDescriptor const *outputs, int32_t nbOutputs, PluginFieldCollection *fc) noexcept=0
Validate a plugin.
IPluginChecker & operator=(IPluginChecker &&other) &=delete
Deleted move assignment operator to maintain non-movability.
IPluginChecker(IPluginChecker const &other)=delete
Deleted copy constructor to maintain non-copyability.
IPluginChecker()=default
Default constructor for IPluginChecker.
virtual ~IPluginChecker()=default
De-allocates any internally allocated memory.
ErrorCode
Error codes that can be returned by TensorRT during execution.
Definition: NvInferRuntimeBase.h:317
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.
Definition: NvInferConsistency.h:34
Plugin field collection struct.
Definition: NvInferPluginBase.h:103
A simple record summarizing various properties of a network IO Tensor.
Definition: NvInferSafeRuntime.h:287