Skip to content

Instantly share code, notes, and snippets.

View jenkspt's full-sized avatar

Penn Jenks jenkspt

View GitHub Profile
@jenkspt
jenkspt / miniflow.py
Created February 7, 2018 21:36 — forked from jychstar/miniflow.py
miniflow in Udacity nanodegree
import numpy as np
class Node(object):
"""
Base class for nodes in the network.
Arguments:
`inbound_nodes`: A list of nodes with edges into this node.
"""
def __init__(self, inbound_nodes=[]):