Plugin factory for deserialization. More...
Public Member Functions | |
virtual IPlugin * | createPlugin (const char *layerName, const void *serialData, size_t serialLength)=0 |
Create a plugin from serialized data. More... | |
virtual | ~IPluginFactory () |
Plugin factory for deserialization.
This Interface is guaranteed not to change for the same major version of TensorRT.
|
inlinevirtual |
|
pure virtual |
Create a plugin from serialized data.
Responsibility of destroying this plugin lies with the application. It can be done anytime after consumers of this plugin are destroyed.
layerName | The name of the layer. |
serialData | The serialized data. |
serialLength | The length of the serialized data. |
Implemented in PluginFactory.