//Methods /// <summary> /// Builds the name of the specified activation function. /// </summary> /// <param name="activationCfg">The activation function configuration.</param> private string BuildActivationName(IActivationSettings activationCfg) { IActivation aFn = ActivationFactory.CreateAF(activationCfg, _rand); return(aFn.TypeOfActivation.ToString() + "-" + aFn.GetType().Name.Replace("Settings", string.Empty)); }