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

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

#include <LayerDescHostContainer.h>

Public Member Functions

const LayerDescget () const
 Returns a reference to the converted/upgraded descriptor.
 
bool isValid () const
 Returns true if the imported descriptor was valid.
 
 LayerDescHostContainer (const LayerDesc *pInputLayerDesc)
 Creates a LayerDescHostContainer to represent an external LayerDesc. More...
 
void linkVectors ()
 Once all sub-descriptors have been converted, call this to reconnect the parameter/input lists.
 

Detailed Description

"Host-native" container for LayerDesc 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 LayerDesc that replaces missing fields with sensible defaults.

Constructor & Destructor Documentation

◆ LayerDescHostContainer()

LayerDescHostContainer::LayerDescHostContainer ( const LayerDesc pInputLayerDesc)
explicit

Creates a LayerDescHostContainer to represent an external LayerDesc.

Parameters
pInputLayerDescDescriptor to convert

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