public void InitDelta(List <double> idealOutput) { foreach (var(neuron, output) in Neurons.Cast <OutputNeuron>().Zip(idealOutput, (neuron, output) => (neuron, output))) { neuron.InitDelta(output); } }
public void InitDelta(List <double> idealOutput) { foreach (var(neuron, output) in Neurons.Cast <OutputNeuron>().Zip(idealOutput, (neuron, output) => (neuron, output))) { neuron.InitDelta(output); } }