Ejemplo n.º 1
0
 public void FillInputNeurons(IEnumerable <double> input)
 {
     if (input.Count() != _inputLayer.Count)
     {
         throw new ArgumentException("Length of input collection is not equal to number of input neurons");
     }
     for (int i = 0; i < input.Count(); ++i)
     {
         InputLayer.ElementAt(i).Output = input.ElementAt(i);
     }
 }