官术网_书友最值得收藏!

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: "First, check your Python version with the python --version command."

A block of code is set as follows:

from keras import [what_to_use]
from keras.models import Sequential
from keras.layers import Dense

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

model = Sequential()
# N = number of neurons
# V = number of variable
model.add(Dense(N, input_dim=V, activation='relu'))
# S = number of neurons in the 2nd layer
model.add(Dense(S, activation='relu'))
model.add(Dense(1, activation='sigmoid')) # 1 output

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

>>> import tensorflow as tf
>>> Message = tf.constant("Hello, world!")
>>> sess = tf.Session()
>>> print(sess.run(Message))

Bold: Indicates a new term, an important word, or words that you see onscreen.

Warnings or important notes appear like this.

Tips and tricks appear like this.

主站蜘蛛池模板: 陇南市| 宜君县| 呈贡县| 巴林右旗| 巴林左旗| 雅江县| 通海县| 汶上县| 元谋县| 长乐市| 镇沅| 驻马店市| 伊金霍洛旗| 余姚市| 淮阳县| 中卫市| 常宁市| 元谋县| 平泉县| 洛阳市| 梁河县| 玉屏| 西乌珠穆沁旗| 横峰县| 罗定市| 合作市| 高邑县| 汤原县| 古蔺县| 马龙县| 云南省| 玉田县| 冀州市| 伊宁市| 贡嘎县| 精河县| 工布江达县| 当雄县| 河津市| 香河县| 伽师县|