Skip to content

Instantly share code, notes, and snippets.

View anbrjohn's full-sized avatar

anbrjohn

View GitHub Profile
@anbrjohn
anbrjohn / draw_neural_net.py
Last active March 5, 2021 19:34 — forked from craffel/draw_neural_net.py
Draw a neural network diagram with matplotlib!
#!/usr/bin/env python3
"""
Created by @author: craffel
Modified on Sun Jan 15, 2017 by anbrjohn
Modifications:
-Changed xrange to range for python 3
-Added functionality to annotate nodes
"""