TensorFlow Machine Learning Projects
上QQ阅读APP看书,第一时间看更新

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "By defining placeholders and passing the values to session.run()."

A block of code is set as follows:

tf.constant(
value,
dtype=None,
shape=None,
name='const_name',
verify_shape=False
)

Any command-line input or output is written as follows:

const1 (x):  Tensor("x:0", shape=(), dtype=int32)
const2 (y): Tensor("y:0", shape=(), dtype=float32)
const3 (z): Tensor("z:0", shape=(), dtype=float16)

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Type a review into the box provided and click Submit to see the model's predicted score."

Warnings or important notes appear like this.
Tips and tricks appear like this.