Plugin factory used to configure plugins. More...
Public Member Functions | |
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::IPlugin * | createPlugin (const char *layerName, const nvinfer1::Weights *weights, int32_t nbWeights, const FieldCollection fc)=0 |
Creates a plugin. More... | |
virtual | ~IPluginFactory () |
Plugin factory used to configure plugins.
|
inlinevirtual |
|
pure virtual |
A user implemented function that determines if a layer configuration is provided by an IPlugin.
layerName | Name of the layer which the user wishes to validate. |
|
pure virtual |
Creates a plugin.
layerName | Name of layer associated with the plugin. |
weights | Weights used for the layer. |
nbWeights | Number of weights. |
fc | A collection of FieldMaps used as layer parameters for different plugin layers. |