if (name.equalsIgnoreCase(MLActivationFactory.AF_LOG)) {
return new ActivationLOG();
}
if (name.equalsIgnoreCase(MLActivationFactory.AF_RAMP)) {
return new ActivationRamp();
}
if (name.equalsIgnoreCase(MLActivationFactory.AF_SIGMOID)) {
return new ActivationSigmoid();
}