public void OnValueChanged_Type(object sender, EventArgs e)
 {
     if (sender is ComboBox box)
     {
         _bacpropagationType = BackpropagationHandler.ToEnum((string)box.SelectedItem);
     }
 }
 public static void FillTypeChoices(ComboBox box)
 {
     box.Items.Clear();
     box.Items.Add(BackpropagationHandler.ToString(BackpropagationType.Batch));
     box.Items.Add(BackpropagationHandler.ToString(BackpropagationType.Online));
     box.Items.Add(BackpropagationHandler.ToString(BackpropagationType.MiniBatch));
     box.SelectedItem = box.Items[0];
 }