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

Plugin factory used to configure plugins. More...

Inheritance diagram for nvuffparser::IPluginFactory:

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::IPlugincreatePlugin (const char *layerName, const nvinfer1::Weights *weights, int32_t nbWeights, const FieldCollection fc)=0
 Creates a plugin. More...
 
virtual ~IPluginFactory ()
 

Detailed Description

Plugin factory used to configure plugins.

Constructor & Destructor Documentation

◆ ~IPluginFactory()

virtual nvuffparser::IPluginFactory::~IPluginFactory ( )
inlinevirtual

Member Function Documentation

◆ isPlugin()

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

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.

◆ createPlugin()

virtual nvinfer1::IPlugin* nvuffparser::IPluginFactory::createPlugin ( const char *  layerName,
const nvinfer1::Weights weights,
int32_t  nbWeights,
const FieldCollection  fc 
)
pure virtual

Creates a plugin.

Parameters
layerNameName of layer associated with the plugin.
weightsWeights used for the layer.
nbWeightsNumber of weights.
fcA collection of FieldMaps used as layer parameters for different plugin layers.
See also
FieldCollection

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