Using TensorBoard to design the architecture of your machine learning and deep learning solutions
FNN_XOR_Tensorflow_tensorbard_graph_only.py
contains no program in the traditional sense. It contains an essential aspect of developing machine learning and neural networks: the architecture. This program is overloaded with basic graph summaries to grasp the core concept of the data flow graph. In subsequent programs in this book, the summaries will be less literal.
Note
Master the architecture of a machine learning and deep learning program and you'll master your solutions.
Designing the architecture of the data flow graph
First import TensorFlow with the following code:
import tensorflow as tf
Then use the following code to give a name of the scope
of each object you want to display in one line. Write your variable or object on the second line and include it in the TensorBoard summary as an image (histograms, scalars, and other summaries are possible), as shown in the following code:
with tf.name_scope...