This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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=[]): |