TensorRT
6.0.1.5
|
Plugin creator class for user implemented layers. More...
#include <NvInferRuntimeCommon.h>
Public Member Functions | |
virtual int | getTensorRTVersion () const |
Return the version of the API the plugin creator was compiled with. | |
virtual const char * | getPluginName () const =0 |
Return the plugin name. | |
virtual const char * | getPluginVersion () const =0 |
Return the plugin version. | |
virtual const PluginFieldCollection * | getFieldNames ()=0 |
Return a list of fields that needs to be passed to createPlugin. More... | |
virtual IPluginV2 * | createPlugin (const char *name, const PluginFieldCollection *fc)=0 |
Return a plugin object. Return nullptr in case of error. | |
virtual IPluginV2 * | deserializePlugin (const char *name, const void *serialData, size_t serialLength)=0 |
Called during deserialization of plugin layer. Return a plugin object. | |
virtual void | setPluginNamespace (const char *pluginNamespace)=0 |
Set the namespace of the plugin creator based on the plugin library it belongs to. This can be set while registering the plugin creator. More... | |
virtual const char * | getPluginNamespace () const =0 |
Return the namespace of the plugin creator object. | |
Plugin creator class for user implemented layers.
|
pure virtual |
Return a list of fields that needs to be passed to createPlugin.
|
pure virtual |
Set the namespace of the plugin creator based on the plugin library it belongs to. This can be set while registering the plugin creator.