Last active
August 7, 2019 13:10
-
-
Save d3lm/53c3c1aafbdf147966b35e15851a077c 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 Graph(): | |
def __init__(self): | |
self.operations = [] | |
self.placeholders = [] | |
self.variables = [] | |
self.constants = [] | |
def as_default(self): | |
global _default_graph | |
_default_graph = self |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment