public void Initialize()
 {
     for (int i = 0; i < _numberOfNeurons; i++)
     {
         var neuron = new Neuron(_numberOfInputs);
         neuron.InitializeWeights();
         Neurons[i] = neuron;
     }
 }
 public Layer(int numberOfNeurons, int numberOfInputs)
 {
     _numberOfNeurons = numberOfNeurons;
     _numberOfInputs = numberOfInputs;
     Neurons = new Neuron[_numberOfNeurons];
 }