Пример #1
0
 public void ConnectTo(ILayer nextLayer)
 {
     _forwardLinks.Clear();
     foreach (var neuron in _neurons)
     {
         var output = new Link();
         _forwardLinks.Add(output);
         neuron.SetOutput(output);
         nextLayer.ForeachNeuron((i, nextNeuron) => nextNeuron.AddInput(output));
     }
 }