November 2018
Intermediate to advanced
322 pages
7h 54m
English
We can create our own graphs, which are separate from the default graph, and execute them in a session. However, creating and executing multiple graphs is not recommended, because of the following disadvantages:
Hence, the recommended approach is to have multiple subgraphs in a single graph. In case we wish to use our own graph instead of the default graph, we can do so with the tf.graph() command. In the following example, we create our own graph, g, and execute it as the default graph:
g = tf.Graph()output = 0# Assume Linear Model ...
Read now
Unlock full access