NVIDIA NvNeural SDK  2022.2
GPU inference framework for NVIDIA Nsight Deep Learning Designer
ExportPlugin.h File Reference

Defines common variables used for the plugin export helper classes. More...

Go to the source code of this file.

Functions

void nvneural::plugin::InitializePluginTypes () noexcept(false)
 Registration function for initializing exported types. More...
 

Variables

const char * nvneural::plugin::PluginAuthor
 Plugin authorship string to display in the editor and other tools. More...
 
const char * nvneural::plugin::PluginDescription
 Plugin description string to display in the editor and other tools. More...
 
const char * nvneural::plugin::PluginName
 Plugin "name" attribute to display in the editor and other tools. More...
 
const char * nvneural::plugin::PluginVersion
 Plugin version string to display in the editor and other tools. More...
 

Detailed Description

Defines common variables used for the plugin export helper classes.

Function Documentation

◆ InitializePluginTypes()

void nvneural::plugin::InitializePluginTypes ( )
noexcept

Registration function for initializing exported types.

This is the proper time to call static methods on ClassRegistry; the export helpers wrap this function in std::call_once so that you do not have to worry about multiple calls to NvNeuralCreatePluginV1 creating duplicate type registrations in ClassRegistry.

You should signal failures from this function by throwing; doing so will return a plugin creation failure result to the host.

Variable Documentation

◆ PluginAuthor

const char* nvneural::plugin::PluginAuthor
extern

Plugin authorship string to display in the editor and other tools.

Example: "NVIDIA Corporation"

◆ PluginDescription

const char* nvneural::plugin::PluginDescription
extern

Plugin description string to display in the editor and other tools.

Example: "Lightweight convolution layer classes"

◆ PluginName

const char* nvneural::plugin::PluginName
extern

Plugin "name" attribute to display in the editor and other tools.

Example: "Fused Upscale Layers"

◆ PluginVersion

const char* nvneural::plugin::PluginVersion
extern

Plugin version string to display in the editor and other tools.

Example: "2021.1.0"