You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line 297, you create dendrite object for NeuralLayer connectingFrom, however, I think that is redundant. In the Neuron class, there is already a dendrite object declared, so there is no need to declare another one in line 297. Thank you.
private void CreateNetwork(NeuralLayer connectingFrom, NeuralLayer connectingTo)
{
foreach (var from in connectingFrom.Neurons)
{
from.Dendrites = new List<Dendrite>();
from.Dendrites.Add(new Dendrite());
}
foreach (var to in connectingTo.Neurons)
{
to.Dendrites = new List<Dendrite>();
foreach (var from in connectingFrom.Neurons)
{
to.Dendrites.Add(new Dendrite() { InputPulse = from.OutputPulse, SynapticWeight = connectingTo.Weight });
}
}
}
The text was updated successfully, but these errors were encountered:
In line 297, you create dendrite object for NeuralLayer connectingFrom, however, I think that is redundant. In the Neuron class, there is already a dendrite object declared, so there is no need to declare another one in line 297. Thank you.
The text was updated successfully, but these errors were encountered: