NVIDIA NvNeural SDK  2022.2
GPU inference framework for NVIDIA Nsight Deep Learning Designer
nvneural::ActivationDescHostContainer Class Reference

"Host-native" container for ActivationDesc structures from other modules. More...

#include <ActivationDescHostContainer.h>

Public Member Functions

 ActivationDescHostContainer (const ActivationDesc *pInputActivationDesc)
 Creates an ActivationDescHostContainer to represent an external ActivationDesc. More...
 
const ActivationDescget () const
 Returns a reference to the converted/upgraded descriptor.
 
bool isValid () const
 Returns true if the imported descriptor was valid.
 
void linkVectors ()
 Once all ParamDescs have been converted, call this to reconnect the parameter list.
 

Detailed Description

"Host-native" container for ActivationDesc structures from other modules.

When loading a plugin that may have been built against an earlier version of the NvNeural SDK, this class creates an upgraded ActivationDesc that replaces missing fields with sensible defaults.

Constructor & Destructor Documentation

◆ ActivationDescHostContainer()

ActivationDescHostContainer::ActivationDescHostContainer ( const ActivationDesc pInputActivationDesc)
explicit

Creates an ActivationDescHostContainer to represent an external ActivationDesc.

Parameters
pInputActivationDescDescriptor to convert

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