- 3.0.2 core module.
ActivationLoadMacros.h File Reference

Go to the source code of this file.

Macros

#define CT_LOADABLE_ACTIVATION(SCALAR, ACTIVATION, ACTIVATIONNAME)
 

Macro Definition Documentation

◆ CT_LOADABLE_ACTIVATION

#define CT_LOADABLE_ACTIVATION (   SCALAR,
  ACTIVATION,
  ACTIVATIONNAME 
)
Value:
if (activationKind == ACTIVATIONNAME) \
{ \
c_i = std::shared_ptr<ct::core::tpl::ACTIVATION<SCALAR>>(new ct::core::tpl::ACTIVATION<SCALAR>()); \
}