Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class WeightedSumFunction : IInputFunction
public double CalculateInput(List<ISynapse> inputs)
return inputs.Select(x => x.Weight * x.GetOutput()).Sum();

This comment has been minimized.

Copy link

@RLKane47 RLKane47 commented May 30, 2018

ANN download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment