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

Plugin factory used to configure plugins with added support for TRT versioning. More...

Inheritance diagram for nvcaffeparser1::IPluginFactoryExt:
Collaboration diagram for nvcaffeparser1::IPluginFactoryExt:

Public Member Functions

virtual int32_t getVersion () const
 
virtual bool isPluginExt (const char *layerName)=0
 A user implemented function that determines if a layer configuration is provided by an IPluginExt. More...
 
virtual bool isPlugin (const char *layerName)=0
 A user implemented function that determines if a layer configuration is provided by an IPlugin. More...
 
virtual nvinfer1::IPlugincreatePlugin (const char *layerName, const nvinfer1::Weights *weights, int32_t nbWeights)=0
 Creates a plugin. More...
 

Detailed Description

Plugin factory used to configure plugins with added support for TRT versioning.

Member Function Documentation

◆ getVersion()

virtual int32_t nvcaffeparser1::IPluginFactoryExt::getVersion ( ) const
inlinevirtual

◆ isPluginExt()

virtual bool nvcaffeparser1::IPluginFactoryExt::isPluginExt ( const char *  layerName)
pure virtual

A user implemented function that determines if a layer configuration is provided by an IPluginExt.

Parameters
layerNameName of the layer which the user wishes to validate.

Implemented in PluginFactory.

◆ isPlugin()

virtual bool nvcaffeparser1::IPluginFactory::isPlugin ( const char *  layerName)
pure virtualinherited

A user implemented function that determines if a layer configuration is provided by an IPlugin.

Parameters
layerNameName of the layer which the user wishes to validate.

Implemented in PluginFactory.

◆ createPlugin()

virtual nvinfer1::IPlugin* nvcaffeparser1::IPluginFactory::createPlugin ( const char *  layerName,
const nvinfer1::Weights weights,
int32_t  nbWeights 
)
pure virtualinherited

Creates a plugin.

Parameters
layerNameName of layer associated with the plugin.
weightsWeights used for the layer.
nbWeightsNumber of weights.

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