25 #ifndef NVNEURAL_ACTIVATIONDESCHOSTCONTAINER_H
26 #define NVNEURAL_ACTIVATIONDESCHOSTCONTAINER_H
41 bool m_validActivationDesc;
43 std::vector<ParamDesc> m_params;
45 void ActivationDescWarning(
const std::string& pWarningText)
const;
46 bool SanityCheckActivationDesc()
const;
47 bool ValidateAndLoadActivationDesc(
const ActivationDesc* pInputActivationDesc);
49 bool ValidateAndLoadParamDesc(
const ParamDesc*
const pInputParamDesc);
64 return m_validActivationDesc;
70 return m_activationDesc;
Common helper classes and template function implementations.
Fundamental NvNeural data types are declared here.
"Host-native" container for ActivationDesc structures from other modules.
Definition: ActivationDescHostContainer.h:39
bool isValid() const
Returns true if the imported descriptor was valid.
Definition: ActivationDescHostContainer.h:62
const ActivationDesc & get() const
Returns a reference to the converted/upgraded descriptor.
Definition: ActivationDescHostContainer.h:68
void linkVectors()
Once all ParamDescs have been converted, call this to reconnect the parameter list.
Definition: ActivationDescHostContainer.h:74
Structure describing an activation function (IActivationFunction) for tool interfaces and network bui...
Definition: CoreTypes.h:1634
const ParamDesc * pParameters
This is the pointer to the contiguous memory of ParamDesc structs.
Definition: CoreTypes.h:1683
ParamDesc describes a parameter for the plugin, giving it a name, default value, type,...
Definition: CoreTypes.h:1449