
上QQ阅读APP看书,第一时间看更新
使用约定
本书中使用了许多文本约定。
CodeInText:
表示文本中的代码、数据库表名、文件夹名、文件名、文件扩展名、路径名、虚拟URL、用户输入和Twitter句柄。举例说明:“将下载的WebStorm-10*.dmg
磁盘映像文件作为系统中的另一个磁盘挂载。”
代码块设置如下:
X_train = faces['images']
X_train = (2.0 * X_train) - 1.0
width = X_train.shape[1]
height = X_train.shape[2]
当我们希望引起你对特定部分的注意时,相关的行或整体将以粗体显示:
import tensorflow as tf
session=tf.InteractiveSession(graph=graph)
tf.global_variables_initializer().run()
粗体:表示新术语、重要词。例如当菜单或对话框中的单词出现在正文中时,要用粗体显示。下面是一个示例:"Select System info from the Administration panel."
警告或重要说明图示
提示或技巧图示