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

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.

主站蜘蛛池模板: 赞皇县| 南汇区| 东乌珠穆沁旗| 洛扎县| 安吉县| 长垣县| 清流县| 长汀县| 含山县| 台中县| 舟曲县| 滕州市| 关岭| 黄陵县| 历史| 平昌县| 五河县| 泸州市| 温州市| 沾化县| 宜昌市| 剑阁县| 托里县| 泗水县| 高淳县| 五河县| 酒泉市| 民勤县| 五峰| 滁州市| 齐齐哈尔市| 金湖县| 泽普县| 那坡县| 搜索| 石城县| 万荣县| 五常市| 友谊县| 湟源县| 红桥区|