18#ifndef NV_INFER_CONSISTENCY_CHECKER_H
19#define NV_INFER_CONSISTENCY_CHECKER_H
114 virtual bool validate(std::vector<TensorDescriptor>
const& Inputs, std::vector<TensorDescriptor>
const& Outputs,
165 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:82
Validates a TRT engine (Serialized binary blob)
Definition: NvInferConsistency.h:47
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:105
IPluginChecker & operator=(IPluginChecker const &other) &=delete
Deleted copy assignment operator to maintain non-copyability.
virtual bool validate(std::vector< TensorDescriptor > const &Inputs, std::vector< TensorDescriptor > const &Outputs, PluginFieldCollection *fc) noexcept=0
Validate a plugin.
IPluginChecker(IPluginChecker &&other)=delete
Deleted move constructor to maintain non-movability.
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:315
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:30
Plugin field collection struct.
Definition: NvInferPluginBase.h:103