public Layer(int nodeCount, IWeightInitilizer weightInitilizer, IActivationFunction activationFunction) { Initialize(nodeCount, (index) => { _nodes[index] = new Node(weightInitilizer.GetWeights(), activationFunction); }); }
public Layer(int nodeCount, IWeightInitilizer weightInitilizer) { Initialize(nodeCount, (index) => { _nodes[index] = new Node(weightInitilizer.GetWeights()); }); }