|
TensorRT
|
Plugin factory used to configure plugins. More...
#include <NvUffParser.h>
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, int nbWeights, const FieldCollection fc)=0 |
| Creates a plugin. More... | |
Plugin factory used to configure plugins.
|
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. |
|
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. |