NVIDIA NvNeural SDK
2022.2
GPU inference framework for NVIDIA Nsight Deep Learning Designer
|
"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 ActivationDesc & | get () 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. | |
"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.
|
explicit |
Creates an ActivationDescHostContainer to represent an external ActivationDesc.
pInputActivationDesc | Descriptor to convert |