Пример #1
0
 public void connectToInputLayer(Layer l)
 {
     //connect every neuron in layer1 to every neuron in layer 2
     foreach (Neuron myNeuron in getNeurons())
     {
         foreach (Neuron inputneuron in l.getNeurons())
         {
             myNeuron.addInput(inputneuron);
         }
     }
 }