public class WeightedSumFunction : IInputFunction | |
{ | |
public double CalculateInput(List<ISynapse> inputs) | |
{ | |
return inputs.Select(x => x.Weight * x.GetOutput()).Sum(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
ANN download