摘要: 1,introduction Estimator 会封装下列操作: 训练 评估 预测 导出以供使用 预创建的 Estimator,也可以编写自定义 Estimator。所有 Estimator(无论是预创建的还是自定义)都是基于 tf.estimator.Estimator 类的类 2,Estima 阅读全文
posted @ 2019-03-12 22:36 Augustone 阅读(392) 评论(0) 推荐(0)
摘要: 1,tf-data两个新的抽象类 dataset表示一系列元素,其中每个元素包含一个或多个 Tensor 对象 创建来源(例如 Dataset.from_tensor_slices()),以通过一个或多个 tf.Tensor 对象构建数据集。 应用转换(例如 Dataset.batch()),以通过 阅读全文
posted @ 2019-03-12 22:23 Augustone 阅读(1467) 评论(0) 推荐(0)
摘要: 1,Goodness An intuitive interface—Structure your code naturally and use Python data structures. Quickly iterate on small models and small data. Easier 阅读全文
posted @ 2019-03-12 18:59 Augustone 阅读(265) 评论(0) 推荐(0)
摘要: 1,Sequential model model = tf.keras.Sequential() # Adds a densely-connected layer with 64 units to the model:model.add(layers.Dense(64, activation='re 阅读全文
posted @ 2019-03-12 18:25 Augustone 阅读(368) 评论(0) 推荐(0)