Exemplo n.º 1
0
 private void EdtActivationFunctionChanged(object sender, ActivationChangedEventArgs e)
 {
     foreach (Nsim.Calculator.LayerConfig config in this._xac98a99ed8268faa.OfType<Nsim.Calculator.LayerConfig>())
     {
         config.ActivationFunction.Xml = e.ActivationFunction.Xml;
     }
 }
Exemplo n.º 2
0
 private void EdtActivationFunctionChanged(object sender, ActivationChangedEventArgs e)
 {
     using (IEnumerator<LayerConfig> enumerator = this.layersList.Items.OfType<LayerConfig>().GetEnumerator())
     {
         LayerConfig config;
         goto Label_003D;
     Label_001A:
         config = enumerator.Current;
         config.ActivationFunction.Xml = e.ActivationFunction.Xml;
         if (0 != 0)
         {
             goto Label_001A;
         }
     Label_003D:
         if (enumerator.MoveNext())
         {
             goto Label_001A;
         }
     }
 }