public override void SaveConfig() { Config.Set(Const.Param.ActivationFunc, CtlActivationFunc.SelectedItem.ToString()); CtlInitial0.Save(Config); CtlInitial1.Save(Config); CtlActivationFuncParamA.Save(Config); var neurons = GetNeuronsControls().Where(n => n.IsBias); Config.Set(Const.Param.Neurons, neurons.Select(n => n.Id)); Range.ForEach(neurons, n => n.SaveConfig()); }