1 Star 1 Fork 2

WangTuoxyty / eat_tensorflow2_in_30_days

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Chapter4.md 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
Tim Wu 提交于 2020-04-20 00:18 . fixed image paths

Chapter 4: Low-level API in TensorFlow

Low-level API of TensorFlow includes tensor operation, graph, automatic differentiate, etc.

If we compare a model to a house, then these low-level APIs are the bricks.

We may use TensorFlow as the enhanced numpy through these low-level APIs.

TensorFlow provides a more complete set of methods comparing to numpy. These methods have higher executiing efficiency and could be further accelerated by GPU if necessary.

We gave an intuitive introduction to the low-level API in the previous sections, and we will emphasize the introduction on the tensor operation and Autograph.

Tensor operation can be devided into two sub-categories: the structural operation and the mathematical operation.

The structural operation includes tensor creation, indexing and slicing, dimension transformation, combining & splitting, etc.

The mathematical operation includes scalar operation, vector operation, and matrix operation. We will also introduce the broadcasting mechanism of tensor operation.

For the part of Autograph, we will cover its suggested rules, its mechanisms Autograph and tf.Module.

Please leave comments in the WeChat official account "Python与算法之美" (Elegant Python and Algorithms) if you want to communicate with the author about the content. The author will try best to reply given the limited time available.

You are also welcomed to reply 加群(join group) in the WeChat official account to join the group chat with the other readers.

image.png

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ilvgpl/eat_tensorflow2_in_30_days.git
git@gitee.com:ilvgpl/eat_tensorflow2_in_30_days.git
ilvgpl
eat_tensorflow2_in_30_days
eat_tensorflow2_in_30_days
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891