This literate programming exercise will construct a simple 2-layer feed-forward neural network to compute the exclusive or, using symbolic differentiation to compute the gradients automatically. In total, about 500 lines of code, including comments. The only functional dependency is numpy. I highly recommend reading Chris Olah's Calculus on Computational Graphs: Backpropagation for more background on what this code is doing.
-
Notifications
You must be signed in to change notification settings - Fork 8
Implementing (parts of) TensorFlow (almost) from Scratch
jimfleming/differentiation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Implementing (parts of) TensorFlow (almost) from Scratch
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published