TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
nvinfer1::IPluginFactory Class Referenceabstract

Plugin factory for deserialization. More...

Inheritance diagram for nvinfer1::IPluginFactory:

Public Member Functions

virtual IPlugincreatePlugin (const char *layerName, const void *serialData, size_t serialLength)=0
 Create a plugin from serialized data. More...
 
virtual ~IPluginFactory ()
 

Detailed Description

Plugin factory for deserialization.

This Interface is guaranteed not to change for the same major version of TensorRT.

Constructor & Destructor Documentation

◆ ~IPluginFactory()

virtual nvinfer1::IPluginFactory::~IPluginFactory ( )
inlinevirtual

Member Function Documentation

◆ createPlugin()

virtual IPlugin* nvinfer1::IPluginFactory::createPlugin ( const char *  layerName,
const void *  serialData,
size_t  serialLength 
)
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.

Parameters
layerNameThe name of the layer.
serialDataThe serialized data.
serialLengthThe length of the serialized data.
Returns
The plugin.
See also
IPlugin::serialize()

Implemented in PluginFactory.


The documentation for this class was generated from the following file: