13#ifndef NV_INFER_CONSISTENCY_CHECKER_H
14#define NV_INFER_CONSISTENCY_CHECKER_H
73 virtual bool validate(std::vector<TensorDescriptor>
const& Inputs, std::vector<TensorDescriptor>
const& Outputs,
96 std::vector<std::string>
const& pluginBuildLibs = {})
noexcept;
Interface for extended recorder which allows error, warn, debug, or info messages to be recorded.
Definition: NvInferSafeRecorder.h:76
Validates a TRT engine (Serialized binary blob)
Definition: NvInferConsistency.h:42
virtual bool validate() noexcept=0
Check that a blob that was input to createConsistencyChecker method represents a valid TRT engine.
Definition: NvInferConsistency.h:64
IPluginChecker & operator=(IPluginChecker const &other) &=delete
virtual bool validate(std::vector< TensorDescriptor > const &Inputs, std::vector< TensorDescriptor > const &Outputs, PluginFieldCollection *fc) noexcept=0
Validate a plugin.
IPluginChecker(IPluginChecker &&other)=delete
IPluginChecker & operator=(IPluginChecker &&other) &=delete
IPluginChecker(IPluginChecker const &other)=delete
virtual ~IPluginChecker()=default
De-allocates any internally allocated memory.
ErrorCode
Error codes that can be returned by TensorRT during execution.
Definition: NvInferRuntimeBase.h:312
nvinfer2::safe::ErrorCode createConsistencyChecker(IConsistencyChecker *&icc, nvinfer2::safe::ISafeRecorder &recorder, void const *blob, size_t size, std::vector< std::string > const &pluginBuildLibs={}) noexcept
Create an instance of an IConsistencyChecker class.
Definition: NvInferConsistency.h:25
Plugin field collection struct.
Definition: NvInferPluginBase.h:103