TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
nvinfer1::plugin::BaseCreator Class Referenceabstract
Inheritance diagram for nvinfer1::plugin::BaseCreator:
Collaboration diagram for nvinfer1::plugin::BaseCreator:

Public Member Functions

void setPluginNamespace (const char *libNamespace) override
 Set the namespace of the plugin creator based on the plugin library it belongs to. More...
 
const char * getPluginNamespace () const override
 Return the namespace of the plugin creator object. More...
 
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 PluginFieldCollectiongetFieldNames ()=0
 Return a list of fields that needs to be passed to createPlugin. More...
 
virtual IPluginV2createPlugin (const char *name, const PluginFieldCollection *fc)=0
 Return a plugin object. More...
 
virtual IPluginV2deserializePlugin (const char *name, const void *serialData, size_t serialLength)=0
 Called during deserialization of plugin layer. More...
 

Protected Attributes

std::string mNamespace
 

Member Function Documentation

◆ setPluginNamespace()

void nvinfer1::plugin::BaseCreator::setPluginNamespace ( const char *  pluginNamespace)
inlineoverridevirtual

Set the namespace of the plugin creator based on the plugin library it belongs to.

This can be set while registering the plugin creator.

See also
IPluginRegistry::registerCreator()

Implements nvinfer1::IPluginCreator.

◆ getPluginNamespace()

const char* nvinfer1::plugin::BaseCreator::getPluginNamespace ( ) const
inlineoverridevirtual

Return the namespace of the plugin creator object.

Implements nvinfer1::IPluginCreator.

◆ getTensorRTVersion()

virtual int32_t nvinfer1::IPluginCreator::getTensorRTVersion ( ) const
inlinevirtualinherited

Return the version of the API the plugin creator was compiled with.

◆ getPluginName()

◆ getPluginVersion()

◆ getFieldNames()

◆ createPlugin()

virtual IPluginV2* nvinfer1::IPluginCreator::createPlugin ( const char *  name,
const PluginFieldCollection fc 
)
pure virtualinherited

◆ deserializePlugin()

virtual IPluginV2* nvinfer1::IPluginCreator::deserializePlugin ( const char *  name,
const void *  serialData,
size_t  serialLength 
)
pure virtualinherited

Member Data Documentation

◆ mNamespace

std::string nvinfer1::plugin::BaseCreator::mNamespace
protected

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