public Layer(int perceptronsInLayer = 0) { Perceptrons = new List <Perceptron>(); for (int i = 0; i < perceptronsInLayer; i++) { Perceptron perceptron = new Perceptron(); Perceptrons.Add(perceptron); } }
public Perceptron(Perceptron other) { Weights = new Dictionary <string, float>(other.Weights); BiasWeight = other.BiasWeight; }