示例#1
0
 public void Mutate(float mutationRate, float maxPertebation)
 {
     // No need to mutate input layer.
     foreach (var hidden in hiddenLayers)
     {
         hidden.Mutate(mutationRate, maxPertebation);
     }
     outputLayer.Mutate(mutationRate, maxPertebation);
 }