TensorRT  7.0.0.11
nvcaffeparser1::IPluginFactory Class Referenceabstract

Plugin factory used to configure plugins. More...

#include <NvCaffeParser.h>

Inheritance diagram for nvcaffeparser1::IPluginFactory:
nvcaffeparser1::IPluginFactoryExt

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, int nbWeights)=0
 Creates a plugin. More...
 

Detailed Description

Plugin factory used to configure plugins.

Member Function Documentation

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

Creates a plugin.

Parameters
layerNameName of layer associated with the plugin.
weightsWeights used for the layer.
nbWeightsNumber of weights.
virtual bool nvcaffeparser1::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.

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