Plugin creator class for user implemented layers. More...
Public Member Functions | |
virtual int32_t | getTensorRTVersion () const |
Return the version of the API the plugin creator was compiled with. More... | |
virtual const char * | getPluginName () const =0 |
Return the plugin name. More... | |
virtual const char * | getPluginVersion () const =0 |
Return the plugin version. More... | |
virtual const PluginFieldCollection * | getFieldNames ()=0 |
Return a list of fields that needs to be passed to createPlugin. More... | |
virtual IPluginV2 * | createPlugin (const char *name, const PluginFieldCollection *fc)=0 |
Return a plugin object. More... | |
virtual IPluginV2 * | deserializePlugin (const char *name, const void *serialData, size_t serialLength)=0 |
Called during deserialization of plugin layer. More... | |
virtual void | setPluginNamespace (const char *pluginNamespace)=0 |
Set the namespace of the plugin creator based on the plugin library it belongs to. More... | |
virtual const char * | getPluginNamespace () const =0 |
Return the namespace of the plugin creator object. More... | |
virtual | ~IPluginCreator () |
Plugin creator class for user implemented layers.
|
inlinevirtual |
|
inlinevirtual |
Return the version of the API the plugin creator was compiled with.
|
pure virtual |
Return the plugin name.
Implemented in UffPoolPluginV2Creator, nvinfer1::plugin::ProposalPluginCreator, nvinfer1::plugin::BatchedNMSBasePluginCreator, nvinfer1::plugin::MultilevelProposeROIPluginCreator, nvinfer1::plugin::GroupNormalizationPluginCreator, nvinfer1::plugin::ProposalLayerPluginCreator, bert::EmbLayerNormVarSeqlenPluginCreator, nvinfer1::plugin::GenerateDetectionPluginCreator, nvinfer1::plugin::DetectionLayerPluginCreator, nvinfer1::plugin::FlattenConcatPluginCreator, nvinfer1::plugin::NormalizePluginCreator, nvinfer1::plugin::CropAndResizePluginCreator, nvinfer1::plugin::MultilevelCropAndResizePluginCreator, nvinfer1::plugin::PyramidROIAlignPluginCreator, nvinfer1::plugin::RPROIPluginCreator, nvinfer1::plugin::GridAnchorBasePluginCreator, nvinfer1::plugin::InstanceNormalizationPluginCreator, nvinfer1::plugin::RegionPluginCreator, bert::QKVToContextInterleavedPluginCreator, nvinfer1::plugin::SpecialSlicePluginCreator, nvinfer1::plugin::PriorBoxPluginCreator, nvinfer1::plugin::ResizeNearestPluginCreator, nvinfer1::plugin::NMSPluginCreator, nvinfer1::plugin::CoordConvACPluginCreator, nvinfer1::plugin::ReorgPluginCreator, bert::SkipLayerNormInterleavedPluginCreator, nvinfer1::plugin::BatchTilePluginCreator, nvinfer1::plugin::LReluPluginCreator, and nvinfer1::plugin::SplitPluginCreator.
|
pure virtual |
Return the plugin version.
Implemented in UffPoolPluginV2Creator, nvinfer1::plugin::ProposalPluginCreator, nvinfer1::plugin::MultilevelProposeROIPluginCreator, nvinfer1::plugin::BatchedNMSBasePluginCreator, nvinfer1::plugin::GroupNormalizationPluginCreator, nvinfer1::plugin::ProposalLayerPluginCreator, bert::EmbLayerNormVarSeqlenPluginCreator, nvinfer1::plugin::GenerateDetectionPluginCreator, nvinfer1::plugin::DetectionLayerPluginCreator, nvinfer1::plugin::FlattenConcatPluginCreator, nvinfer1::plugin::NormalizePluginCreator, nvinfer1::plugin::CropAndResizePluginCreator, nvinfer1::plugin::MultilevelCropAndResizePluginCreator, nvinfer1::plugin::PyramidROIAlignPluginCreator, nvinfer1::plugin::RPROIPluginCreator, nvinfer1::plugin::GridAnchorBasePluginCreator, nvinfer1::plugin::InstanceNormalizationPluginCreator, nvinfer1::plugin::RegionPluginCreator, bert::QKVToContextInterleavedPluginCreator, nvinfer1::plugin::SpecialSlicePluginCreator, nvinfer1::plugin::PriorBoxPluginCreator, nvinfer1::plugin::ResizeNearestPluginCreator, nvinfer1::plugin::NMSPluginCreator, nvinfer1::plugin::CoordConvACPluginCreator, nvinfer1::plugin::ReorgPluginCreator, bert::SkipLayerNormInterleavedPluginCreator, nvinfer1::plugin::BatchTilePluginCreator, nvinfer1::plugin::LReluPluginCreator, and nvinfer1::plugin::SplitPluginCreator.
|
pure virtual |
Return a list of fields that needs to be passed to createPlugin.
Implemented in UffPoolPluginV2Creator, nvinfer1::plugin::ProposalPluginCreator, nvinfer1::plugin::MultilevelProposeROIPluginCreator, nvinfer1::plugin::GroupNormalizationPluginCreator, nvinfer1::plugin::BatchedNMSBasePluginCreator, nvinfer1::plugin::ProposalLayerPluginCreator, bert::EmbLayerNormVarSeqlenPluginCreator, nvinfer1::plugin::GenerateDetectionPluginCreator, nvinfer1::plugin::DetectionLayerPluginCreator, nvinfer1::plugin::FlattenConcatPluginCreator, nvinfer1::plugin::NormalizePluginCreator, nvinfer1::plugin::CropAndResizePluginCreator, nvinfer1::plugin::MultilevelCropAndResizePluginCreator, nvinfer1::plugin::PyramidROIAlignPluginCreator, nvinfer1::plugin::RPROIPluginCreator, nvinfer1::plugin::GridAnchorBasePluginCreator, nvinfer1::plugin::InstanceNormalizationPluginCreator, nvinfer1::plugin::RegionPluginCreator, bert::QKVToContextInterleavedPluginCreator, nvinfer1::plugin::SpecialSlicePluginCreator, nvinfer1::plugin::PriorBoxPluginCreator, nvinfer1::plugin::ResizeNearestPluginCreator, nvinfer1::plugin::NMSPluginCreator, nvinfer1::plugin::CoordConvACPluginCreator, nvinfer1::plugin::ReorgPluginCreator, bert::SkipLayerNormInterleavedPluginCreator, nvinfer1::plugin::BatchTilePluginCreator, nvinfer1::plugin::LReluPluginCreator, and nvinfer1::plugin::SplitPluginCreator.
|
pure virtual |
Return a plugin object.
Return nullptr in case of error.
Implemented in UffPoolPluginV2Creator, nvinfer1::plugin::BatchedNMSDynamicPluginCreator, nvinfer1::plugin::BatchedNMSPluginCreator, nvinfer1::plugin::ProposalPluginCreator, nvinfer1::plugin::MultilevelProposeROIPluginCreator, nvinfer1::plugin::GroupNormalizationPluginCreator, nvinfer1::plugin::ProposalLayerPluginCreator, nvinfer1::plugin::GenerateDetectionPluginCreator, nvinfer1::plugin::DetectionLayerPluginCreator, nvinfer1::plugin::FlattenConcatPluginCreator, nvinfer1::plugin::NormalizePluginCreator, nvinfer1::plugin::CropAndResizePluginCreator, nvinfer1::plugin::MultilevelCropAndResizePluginCreator, nvinfer1::plugin::PyramidROIAlignPluginCreator, nvinfer1::plugin::RPROIPluginCreator, nvinfer1::plugin::GridAnchorBasePluginCreator, nvinfer1::plugin::RegionPluginCreator, nvinfer1::plugin::SpecialSlicePluginCreator, nvinfer1::plugin::PriorBoxPluginCreator, nvinfer1::plugin::ResizeNearestPluginCreator, nvinfer1::plugin::NMSPluginCreator, nvinfer1::plugin::CoordConvACPluginCreator, nvinfer1::plugin::ReorgPluginCreator, nvinfer1::plugin::BatchTilePluginCreator, nvinfer1::plugin::LReluPluginCreator, bert::EmbLayerNormVarSeqlenPluginCreator, nvinfer1::plugin::InstanceNormalizationPluginCreator, bert::QKVToContextInterleavedPluginCreator, bert::SkipLayerNormInterleavedPluginCreator, and nvinfer1::plugin::SplitPluginCreator.
|
pure virtual |
Called during deserialization of plugin layer.
Return a plugin object.
Implemented in UffPoolPluginV2Creator, nvinfer1::plugin::BatchedNMSDynamicPluginCreator, nvinfer1::plugin::BatchedNMSPluginCreator, nvinfer1::plugin::ProposalPluginCreator, nvinfer1::plugin::GroupNormalizationPluginCreator, bert::EmbLayerNormVarSeqlenPluginCreator, nvinfer1::plugin::FlattenConcatPluginCreator, nvinfer1::plugin::NormalizePluginCreator, nvinfer1::plugin::CropAndResizePluginCreator, nvinfer1::plugin::RPROIPluginCreator, nvinfer1::plugin::GridAnchorBasePluginCreator, nvinfer1::plugin::InstanceNormalizationPluginCreator, nvinfer1::plugin::RegionPluginCreator, bert::QKVToContextInterleavedPluginCreator, nvinfer1::plugin::PriorBoxPluginCreator, nvinfer1::plugin::NMSPluginCreator, nvinfer1::plugin::CoordConvACPluginCreator, nvinfer1::plugin::ReorgPluginCreator, bert::SkipLayerNormInterleavedPluginCreator, nvinfer1::plugin::BatchTilePluginCreator, nvinfer1::plugin::LReluPluginCreator, nvinfer1::plugin::MultilevelProposeROIPluginCreator, nvinfer1::plugin::ProposalLayerPluginCreator, nvinfer1::plugin::GenerateDetectionPluginCreator, nvinfer1::plugin::DetectionLayerPluginCreator, nvinfer1::plugin::MultilevelCropAndResizePluginCreator, nvinfer1::plugin::PyramidROIAlignPluginCreator, nvinfer1::plugin::SpecialSlicePluginCreator, nvinfer1::plugin::ResizeNearestPluginCreator, and nvinfer1::plugin::SplitPluginCreator.
|
pure virtual |
Set the namespace of the plugin creator based on the plugin library it belongs to.
This can be set while registering the plugin creator.
Implemented in nvinfer1::plugin::GroupNormalizationPluginCreator, bert::EmbLayerNormVarSeqlenPluginCreator, bert::QKVToContextInterleavedPluginCreator, bert::SkipLayerNormInterleavedPluginCreator, UffPoolPluginV2Creator, nvinfer1::plugin::BatchTilePluginCreator, nvinfer1::plugin::BaseCreator, and nvinfer1::plugin::SplitPluginCreator.
|
pure virtual |
Return the namespace of the plugin creator object.
Implemented in UffPoolPluginV2Creator, nvinfer1::plugin::GroupNormalizationPluginCreator, bert::EmbLayerNormVarSeqlenPluginCreator, bert::QKVToContextInterleavedPluginCreator, bert::SkipLayerNormInterleavedPluginCreator, nvinfer1::plugin::BatchTilePluginCreator, nvinfer1::plugin::BaseCreator, and nvinfer1::plugin::SplitPluginCreator.