Last active
August 7, 2019 13:10
-
-
Save d3lm/c5911c90adb0fa599138971e203c77b4 to your computer and use it in GitHub Desktop.
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
class Operation(): | |
def __init__(self, input_nodes=None): | |
self.input_nodes = input_nodes | |
self.output = None | |
# Append operation to the list of operations of the default graph | |
_default_graph.operations.append(self) | |
def forward(self): | |
pass | |
def backward(self): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment