Plugin factory used to configure plugins.
More...
#include <NvCaffeParser.h>
Plugin factory used to configure plugins.
◆ ~IPluginFactoryV2()
virtual nvcaffeparser1::IPluginFactoryV2::~IPluginFactoryV2 |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ createPlugin()
virtual nvinfer1::IPluginV2 * nvcaffeparser1::IPluginFactoryV2::createPlugin |
( |
char const * |
layerName, |
|
|
nvinfer1::Weights const * |
weights, |
|
|
int32_t |
nbWeights, |
|
|
char const * |
libNamespace = "" |
|
) |
| |
|
pure virtualnoexcept |
Creates a plugin.
- Parameters
-
layerName | Name of layer associated with the plugin. |
weights | Weights used for the layer. |
nbWeights | Number of weights. |
libNamespace | Library Namespace associated with the plugin object |
◆ isPluginV2()
virtual bool nvcaffeparser1::IPluginFactoryV2::isPluginV2 |
( |
char const * |
layerName | ) |
|
|
pure virtualnoexcept |
A user implemented function that determines if a layer configuration is provided by an IPluginV2.
- Parameters
-
layerName | Name of the layer which the user wishes to validate. |
The documentation for this class was generated from the following file: