updateInput method
Implementation
@override
void updateInput(Iterable<Connection> inputs) {
num sum = 0;
for(var i in inputs) {
var node = i.from;
var weight = i.weight;
var output = node.getOutput();
sum += weight * output;
}
input = activationFunction.f(sum);
}