Created
August 20, 2019 00:05
-
-
Save luiscarbonell/e82e1491f5bd303522a5e8f907586d77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const propagate = (target) => { | |
outputs.forEach((neuron, t) => neuron.propagate(target[t])); | |
hiddens.forEach(neuron => neuron.propagate()); | |
return inputs.forEach(neuron => neuron.propagate()); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment