Go to the documentation of this file.
50 #ifndef NV_INFER_CONSISTENCY_H
51 #define NV_INFER_CONSISTENCY_H
84 return mImpl->validate();
130 size_t nbInputs,
const PluginTensorDesc* out,
size_t nbOutputs, int64_t workspaceSize)
const noexcept
153 namespace consistency
167 return static_cast<IConsistencyChecker*>(
177 #endif // NV_INFER_CONSISTENCY_H
bool validate() const noexcept
Check that a blob that was input to createConsistencyChecker method represents a valid engine.
Definition: NvInferConsistency.h:82
Plugin creator class for user implemented layers.
Definition: NvInferRuntimeCommon.h:929
Application-implemented logging interface for the builder, engine and runtime.
Definition: NvInferRuntimeCommon.h:1194
Definition: NvInferConsistencyImpl.h:67
Consistency Checker plugin class for user implemented Plugins.
Definition: NvInferConsistency.h:112
The TensorRT API version 1 namespace.
virtual bool validate(const char *name, const void *serialData, size_t serialLength, const PluginTensorDesc *in, size_t nbInputs, const PluginTensorDesc *out, size_t nbOutputs, int64_t workspaceSize) const noexcept=0
Called during IConsistencyChecker::validate. Allows users to provide custom validation of serialized ...
void * createConsistencyChecker_INTERNAL(void *logger, const void *blob, size_t size, int32_t version)
Internal C entry point for creating IConsistencyChecker.
Validates a serialized engine blob.
Definition: NvInferConsistency.h:73
Fields that a plugin might see for an input or output.
Definition: NvInferRuntimeCommon.h:373
virtual ~IConsistencyChecker()=default
De-allocates any internally allocated memory.
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