Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "The first thing you need to do is download the source code pack for this book and open the simple.py
file."
A block of code is set as follows:
import tensorflow as tf # You can create constants in TF to hold specific values a = tf.constant(1) b = tf.constant(2)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
import tensorflow as tf
# You can create constants in TF to hold specific values
a = tf.constant(1)
b = tf.constant(2)
Any command-line input or output is written as follows:
sudo pip3 install ./tensorflow-1.2.1-cp35-cp35m-linux_x86_64.whl
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Click on +New to create a new file. Here we'll create a Jupyter notebook".
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.