Skip to content

Instantly share code, notes, and snippets.

Avatar

anbrjohn

View GitHub Profile
@anbrjohn
anbrjohn / draw_neural_net.py
Last active Mar 5, 2021 — forked from craffel/draw_neural_net.py
Draw a neural network diagram with matplotlib!
View draw_neural_net.py
#!/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
"""