程序员指南
本单元中的文档介绍了TensorFlow如何工作的细节。 单位如下:
High Level APIs
- Estimators, which introduces a high-level TensorFlow API that greatly simplifies ML programming.
- 导入数据,它解释了如何设置数据管道将数据集读入您的TensorFlow程序。
Low Level APIs
- 简介,它介绍了如何在高级API之外使用TensorFlow的基础知识。
- 张量,它解释了如何创建,操作和访问张量 - TensorFlow中的基本对象。
- 变量,详细说明如何在程序中表示共享的持久状态。
- 图表和会话,它解释了:
- 数据流图,TensorFlow将计算表示为运算之间的依赖关系。
- 会话,这是TensorFlow在一个或多个本地或远程设备上运行数据流图的机制。 如果您使用低级TensorFlow API进行编程,则此单元非常重要。 如果您使用高级TensorFlow API(如Estimators或Keras)进行编程,则高级API会为您创建和管理图形和会话,但理解图形和会话仍然会有所帮助。
- 保存并恢复,它解释了如何保存和恢复变量和模型。
Accelerators
- 使用GPU解释了TensorFlow如何将操作分配给设备以及如何手动更改排列。
- 使用TPU说明如何修改要在TPU上运行的
Estimator
程序。
ML Concepts
- Embeddings, which introduces the concept of embeddings, provides a simple example of training an embedding in TensorFlow, and explains how to view embeddings with the TensorBoard Embedding Projector.
Debugging
TensorBoard
TensorBoard是一种可视化机器学习不同方面的工具。 以下指南介绍如何使用TensorBoard:
Misc