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

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.

主站蜘蛛池模板: 和静县| 天等县| 筠连县| 南投县| 昌宁县| 成安县| 响水县| 南部县| 华亭县| 麟游县| 永顺县| 高州市| 儋州市| 邯郸县| 长泰县| 隆回县| 望都县| 防城港市| 茂名市| 三河市| 晋州市| 伊金霍洛旗| 宣威市| 噶尔县| 蓝田县| 高台县| 崇义县| 措美县| 通河县| 五华县| 肥乡县| 沙田区| 黎城县| 鄂州市| 惠州市| 慈溪市| 水城县| 丰原市| 永州市| 威信县| 桓仁|