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

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.

主站蜘蛛池模板: 淳安县| 开鲁县| 安阳市| 正蓝旗| 金溪县| 韶山市| 邻水| 江北区| 武鸣县| 永寿县| 蒙自县| 梧州市| 义乌市| 定边县| 湘乡市| 徐汇区| 台前县| 灯塔市| 长海县| 防城港市| 安丘市| 瑞丽市| 原阳县| 乐至县| 和顺县| 八宿县| 资中县| 鄂托克前旗| 沽源县| 菏泽市| 丹棱县| 新安县| 错那县| 灵丘县| 平阳县| 石渠县| 拜城县| 句容市| 舟山市| 怀安县| 邢台市|