January 2018
Intermediate to advanced
474 pages
10h 23m
English
You can create your own graphs separate from the default graph and execute them in a session. However, creating and executing multiple graphs is not recommended, as it has the following disadvantages:
Hence, the recommended approach is to have multiple subgraphs in a single graph. In case you wish to use your own graph instead of the default graph, you can do so with the tf.graph() command. Here is an example where we create our own graph, g, and execute it as the default graph:
g = tf.Graph()output = 0# Assume Linear Model y = w * ...
Read now
Unlock full access