Explore
Connect
Documentation
Snippets
Log in
Sign up
Graph
1
2
3
4
5
6
7
8
9
10
11
12
13
class
Graph:
"""Represents a computational graph
"""
def
__init__(self):
"""Construct Graph"""
self
.operations = []
self
.placeholders = []
self
.variables = []
def
as_default(self):
global
_default_graph
_default_graph =
self
Enter to Rename, Shift+Enter to Preview
Run