Skip to content

Instantly share code, notes, and snippets.

View dingran's full-sized avatar
🎮

Ran Ding dingran

🎮
View GitHub Profile
@dingran
dingran / miniflow.py
Created May 5, 2018 21:39 — 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=[]):