Skip to content

Commit 235f08b

Browse files
committed
校对完成
1 parent 3c44ad0 commit 235f08b

File tree

5 files changed

+58
-45
lines changed

5 files changed

+58
-45
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ PS: 想探讨TensorFlow技术的可以加"TensorFlow技术交流群":495115006
104104
- [使用gpu](SOURCE/how_tos/using_gpu.md)翻译:([@lianghyv](https://github.com/lianghyv))√
105105
- [共享变量](SOURCE/how_tos/variable_scope.md) 翻译:([@nb312](https://github.com/nb312))√
106106
- 资源
107-
- [总览](SOURCE/resources/overview.md) 翻译:([@Jim-Zenn](https://github.com/Jim-Zenn))√ 校对:
108-
[@lonlonago]( https://github.com/lonlonago))
107+
- [总览](SOURCE/resources/overview.md) 翻译:([@Jim-Zenn](https://github.com/Jim-Zenn))√ 校对:([@lonlonago]( https://github.com/lonlonago))
109108
- [BibTex 引用](SOURCE/resources/bib.md) 翻译:([@Jim-Zenn](https://github.com/Jim-Zenn))√
110109
- [示例使用](SOURCE/resources/uses.md) 翻译:([@andyiac](https://github.com/andyiac))√
111110
- [FAQ](SOURCE/resources/faq.md) 翻译:([@Terence Cooper](https://github.com/TerenceCooper))√

SOURCE/how_tos/overview.md

+16-14
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Variables: 创建,初始化,保存,和恢复
55

6-
TensorFlow Variables 是内存中的容纳 tensor 的缓存。了解用它们在训练时(during training)保存和更新模型参数(model parameters) 的方法。
6+
TensorFlow Variables 是内存中的容纳 tensor 的缓存。这一小节介绍了用它们在模型训练时(during training)创建、保存和更新模型参数(model parameters) 的方法。
77

88
[参看教程](../how_tos/variables/index.md)
99

@@ -15,64 +15,66 @@ TensorFlow Variables 是内存中的容纳 tensor 的缓存。了解用它们在
1515
[参看教程](../tutorials/mnist/tf/index.md)
1616

1717

18-
## TensorBoard: 学习过程的视觉化
18+
## TensorBoard: 学习过程的可视化
1919

20-
对模型进行训练和评估时,TensorBoard 是一个很有用的工具。此教程解释了创建和运行 TensorBoard 的方法, 和添加摘要操作(Summary ops)的方法,通过添加摘要操作(Summary ops),可以自动把数据输出到 TensorBoard 在展示时所使用的事件文件
20+
对模型进行训练和评估时,TensorBoard 是一个很有用的可视化工具。此教程解释了创建和运行 TensorBoard 的方法,和使用摘要操作(Summary ops)的方法,通过添加摘要操作(Summary ops),可以自动把数据传输到 TensorBoard 所使用的事件文件
2121

2222
[参看教程](../how_tos/summaries_and_tensorboard/index.md)
2323

2424

25-
## TensorBoard: 图的视觉化
25+
## TensorBoard: 图的可视化
2626

27-
此教程介绍了在 TensorBoard 中使用图的视觉化工具的方法,它可以帮助你理解 the dataflow graph 并 debug。
27+
此教程介绍了在 TensorBoard 中使用可视化工具的方法,它可以帮助你理解张量流图的过程并 debug。
2828

2929
[参看教程](../how_tos/graph_viz/index.md)
3030

3131

3232
## 数据读入
3333

34-
此教程解释了把数据传入 TensorSlow 程序的三种主要的方法: Feeding, Reading 和 Preloading.
34+
此教程介绍了把数据传入 TensorSlow 程序的三种主要的方法: Feeding, Reading 和 Preloading.
3535

3636
[参看教程](../how_tos/reading_data/index.md)
3737

3838

3939
## 线程和队列
4040

41-
此教程解释了 TensorFlow 中为更容易的进行异步和并发训练而实现的各种不同的结构(constructs)。
41+
此教程介绍 TensorFlow 中为了更容易进行异步和并发训练的各种不同结构(constructs)。
4242

4343
[参看教程](../how_tos/threading_and_queues/index.md)
4444

4545

4646
## 添加新的 Op
4747

48-
TensorFlow 已经提供一整套节点操作(operation),你可以在你的 graph 中随意使用它们,不过这里有关于添加自定义操作(custom op)的细节。
48+
TensorFlow 已经提供一整套节点操作(operation),你可以在你的 graph 中随意使用它们,不过这里有关于添加自定义操作(custom op)的细节。
4949

5050
[参看教程](../how_tos/adding_an_op/index.md)
5151

5252

5353
## 自定义数据的 Readers
5454

55-
如果你有相当大量的自定义数据集合,可能你想要对 TensorFlow 进行扩展,使它能直接以数据自身的格式将其读入。
55+
如果你有相当大量的自定义数据集合,可能你想要对 TensorFlow 的 Data Readers 进行扩展,使它能直接以数据自身的格式将其读入。
5656

5757
[参看教程](../how_tos/new_data_formats/index.md)
5858

5959

6060
## 使用 GPUs
6161

62-
此教程描述了用 GPU 构建和运行模型的方法。
62+
此教程描述了用多个 GPU 构建和运行模型的方法。
6363

6464
[参看教程](../how_tos/using_gpu/index.md)
6565

6666

6767
## 共享变量 Sharing Variables
6868

69-
当在多 GPU 上部署大型的模型,或展开复杂的 LSTMs 或 RNNs 时,在模型构建代码的不同位置对许多相同的 Variable 对象(objects)进行读写常常是必须的。
70-
71-
设计"Variable Scope" 机制的目的就是为了有助于上述任务的实现。
69+
当在多 GPU 上部署大型的模型,或展开复杂的 LSTMs 或 RNNs 时,在模型构建代码的不同位置对许多相同的变量(Variable)进行读写常常是必须的。设计变量作用域(Variable Scope)机制的目的就是为了帮助上述任务的实现。
7270

7371
[参看教程](../how_tos/variable_scope/index.md)
7472

75-
原文: [How-to](http://tensorflow.org/how_tos/index.html) 翻译:[Terence Cooper](https://github.com/TerenceCooper) 校对:
73+
原文: [How-to](http://tensorflow.org/how_tos/index.html)
74+
75+
翻译:[Terence Cooper](https://github.com/TerenceCooper)
76+
77+
校对:[lonlonago]( https://github.com/lonlonago)
7678
<div class='sections-order' style="display: none;">
7779
<!--
7880
<!-- variables/index.md -->

SOURCE/resources/glossary.md

+32-25
Original file line numberDiff line numberDiff line change
@@ -7,51 +7,58 @@
77
###Devices
88
一块可以用来运算并且拥有自己的地址空间的硬件,比如GPU和CPU。
99
###eval
10-
Tensor的一个方法,返回Tensor的值。触发任意一个图表计算都需要计算出这个值。只能在一个会话图表中的Tensor上调用
10+
Tensor 的一个方法,返回 Tensor 的值。触发任意一个图计算都需要计算出这个值。只能在一个已经启动的会话的图中才能调用该 Tensor 值
1111
###Feed
12-
TensorFlow的一个概念:把一个tensor直接连接到一个会话图表中的任意节点。feed不是在构建图表(graph)的时候创建,而是在触发图表的执行操作时去申请。一个feed临时替代一个带有tensor值的节点。把feed数据作为run()方法和eval()方法的参数来初始化运算。方法运行结束后,feed就会消失,而最初的节点定义仍然还在。可以通过tf.placeholder()把特定的节点指定为feed节点来创建它们。详见[Basic Usage](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/get_started/basic_usage.md).
12+
TensorFlow 的一个概念:把一个 Tensor 直接连接到一个会话图表中的任意节点。feed 不是在构建图(graph)的时候创建,而是在触发图的执行操作时去申请。一个 feed 临时替代一个带有 Tensor 值的节点。把feed数据作为run( )方法和eval( )方法的参数来初始化运算。方法运行结束后,替换的 feed 就会消失,而最初的节点定义仍然还在。可以通过tf.placeholder( )把特定的节点指定为 feed 节点来创建它们。详见[Basic Usage](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/get_started/basic_usage.md).
1313
###Fetch
14-
TensorFlow中的一个概念:从一个会话图表中取回tensor。取回fetches的申请发生在触发执行图表操作的时候,而不是发生在建立图表的时候。如果要取回一个或多个节点(node)的tensor值,可以通过在Session对象上调用run()方法并将待取回节点(node)的列表作为参数来执行图表(graph)。详见[Basic Usage](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/get_started/basic_usage.md)
15-
###Graph(图表)
16-
把运算描述成一个直接的无环图形(DAG),图表中的节点(node)代表必须要实现的一些操作。图表中的边代表数据或者可控的依赖。GratheDef是系统中描述一个图表的协议(api),它由一个NodeDefs集合组成。一个GraphDef可以转化成一个更容易操作的图表对象。
14+
TensorFlow中的一个概念:为了取回运算操作的输出结果。取回的申请发生在触发执行图操作的时候,而不是发生在建立图的时候。如果要取回一个或多个节点(node)的 Tensor 值,可以通过在 Session 对象上调用run( )方法并将待取回节点(node)的列表作为参数来执行图表(graph)。详见[Basic Usage](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/get_started/basic_usage.md)
15+
###Graph()
16+
把运算任务描述成一个直接的无环图形(DAG),图表中的节点(node)代表必须要实现的一些操作。图中的边代表数据或者可控的依赖。GratheDef 是系统中描述一个图表的协议(api),它由一个 NodeDefs 集合组成。一个GraphDef可以转化成一个更容易操作的图表对象。
1717
###IndexedSlices(索引化切片)
18-
在Python API中,TensorFlow仅仅在第一维上对tensor有所体现。如果一个tensor有k维,那么一个IndexedSlices实例在逻辑上代表一个沿着这个tensor第一维的(k-1)维切片的集合。切片的索引被连续储存在一个单独的一维向量中,而对应的切片则被拼接成一个单独的k维tensor。如果sparsity不是受限于第一维空间,请用SparseTensor。
18+
在 Python API 中,TensorFlow 仅仅在第一维上对 Tensor 有所体现。如果一个 Tensor 有k维,那么一个 IndexedSlices 实例在逻辑上代表一个沿着这个 Tensor 第一维的(k-1)维切片的集合。切片的索引被连续储存在一个单独的一维向量中,而对应的切片则被拼接成一个单独的k维 Tensor。如果 sparsity 不是受限于第一维空间,请用
19+
SparseTensor。
1920

2021
###Node(节点)
21-
图表中的一个元素
22-
把启动一个特定操作的方式称为特定运算图表中的一个节点,包括任何用来配置这个操作的属性的值。对于那些多形态的操作,这些属性包括能完全决定这个节点(Node)签名的充分信息。详见graph.proto。
22+
图中的一个元素
23+
把启动一个特定操作的方式称为特定运算图表的一个节点,包括任何用来配置这个操作的属性的值。对于那些多形态的操作,这些属性包括能完全决定这个节点(Node)签名的充分信息。详见graph.proto。
2324
###操作(Op/operation)
24-
在TensorFlow的运行时中,它是一种类似add或matmul或concat的运算。可以用[how to add an op](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/how_tos/adding_an_op/index.md)中的方法来向运行时添加新的操作。
25+
在 TensorFlow 的运行时中,它是一种类似 add 或 matmul 或 concat的运算。可以用[how to add an op](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/how_tos/adding_an_op/index.md)中的方法来向运行时添加新的操作。
2526

26-
在Python的API中,它是图表中的一个节点。在[tf.Operation](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/framework.md#Operation)类中列举出了这些操作。一个操作(Operation)的type属性决定这个节点(node)的操作类型,比如add和matmul。
27+
在 Python 的API中,它是图中的一个节点。在[tf.Operation](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/framework.md#Operation)类中列举出了这些操作。一个操作(Operation)的 type 属性决定这个节点(node)的操作类型,比如add和matmul。
2728
###Run
28-
在一个运行的图表中执行某种操作的行为。要求这个图表必须运行在一次会话中
29+
在一个运行的图中执行某种操作的行为。要求图必须运行在会话中
2930

30-
在Python的API中,它是Session类的一个方法[tf.Session.run](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/client.md#Session)可以通过tensors来订阅或获取run()操作。
31+
在 Python 的 API 中,它是 Session 类的一个方法[tf.Session.run](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/client.md#Session)可以通过 Tensors 来订阅或获取run( )操作。
3132

32-
在C++的API中,[tensorflow::Session](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/client.md#Session)的一个方法。
33+
在C++的API中,它是[tensorflow::Session](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/client.md#Session)
34+
的一个方法。
3335
###Session(会话)
34-
一个已经启动的图表(graph)的运行时对象。提供在图表中执行操作的一些方法
36+
启动图的第一步是创建一个 Session 对象。Session 提供在图中执行操作的一些方法
3537

36-
在Python API中,[tf.Session](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/client.md#Session)
38+
在 Python API中,使用[tf.Session](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/client.md#Session)
3739

38-
在C++API中,它是一个用来开启一个图表并运行操作的类:[tensorflow::Session](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/cc/ClassSession.md)
40+
在 C++ 的API中,[tensorflow::Session](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/cc/ClassSession.md)是用来创建一个图并运行操作的类:
3941
###Shape
40-
Tensor的维度和他们的大小
42+
Tensor 的维度和它们的大小
4143

42-
在一个已经启动的图表中,它表示建立在节点(node)之间的Tensor的属性。一些操作强烈要求shape不能在运行时出现未知的输入和输出错误
44+
在一个已经启动的图中,它表示流动在节点(node)之间的 Tensor 的属性。一些操作对 shape 有比较强的要求,如果没有 Shape 属性则会报告错误
4345

44-
在Python API中,是图表构造API中Tensor的属性。在Tensor的Shape的构建中,要么只有部分已知,要么全部未知。[tf.TensroShape](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/framework.md#TensorShape)
46+
在 Python API中,用创建图的 API 来说明 Tensor 的 Shape 属性。Tensor 的Shape 属性要么只有部分已知,要么全部未知。详见[tf.TensroShape](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/framework.md#TensorShape)
4547

46-
在C++中,Shape类用来表现Tensor的外形[tensorflow::TensorShape](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/cc/ClassTensorShape.md)
48+
在C++中,Shape 类用来表示 Tensor 的维度。[tensorflow::TensorShape](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/cc/ClassTensorShape.md)
4749
###SparseTensor
48-
在Python API中,TensorFlow对tensor的表现很散落在任意地方。SparseTensor以字典值格式来储存那些沿着索引的非空值。换言之,m个非空值,就包含一个长度为m的值向量和一个由m列索引(indices)组成的矩阵。为了提升效率,SparseTensor需要将indice(索引)按维度的增加来按序存储,比如行主序。如果稀疏值仅沿着第一维度,就用IndexedSlices
50+
在 Python API 中,它用来表示在 TensorFlow 中稀疏散落在任意地方的 Tensor 。SparseTensor 以字典-值格式来储存那些沿着索引的非空值。换言之,m个非空值,就包含一个长度为m的值向量和一个由m列索引(indices)组成的矩阵。为了提升效率,SparseTensor 需要将 indice(索引)按维度的增加来按序存储,比如行主序。如果稀疏值仅沿着第一维度,就用 IndexedSlices
4951
###Tensor
5052
Tensor是一种特定的多维数组。比如,一个浮点型的四维数组表示一小批由[batch,height,width,channel]组成的图片。
5153

52-
在一个运行的图表(graph)中,它是一种连接在节点(node)之间的数据。
53-
在Python中,Tensor类表示添加到图表的操作中的输入和输出,见[tf.Tensor](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/framework.md#Tensor),这样的类不持有数据。
54+
在一个运行的图(graph)中,它是一种流动在节点(node)之间的数据。
55+
在 Python 中,Tensor 类表示添加到图的操作中的输入和输出,见[tf.Tensor](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/python/framework.md#Tensor),这样的类不持有数据。
5456

55-
在C++中,Tensor是方法[Session::Run()](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/cc/ClassSession.md)的返回值,见[tensorflow::Tensor](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/cc/ClassTensor.md)这样的Tensor持有数据
57+
在C++中,Tensor是方法[Session::Run( )](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/cc/ClassSession.md)的返回值,见[tensorflow::Tensor](https://github.com/jikexueyuanwiki/tensorflow-zh/blob/master/SOURCE/api_docs/cc/ClassTensor.md)这样的 Tensor 持有数据
5658

57-
原文:[Glossary](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/resources/glossary.md) 翻译:[leege100](https://github.com/leege100)
59+
60+
原文:[Glossary](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/resources/glossary.md)
61+
62+
翻译:[leege100](https://github.com/leege100)
63+
64+
校对:[lonlonago]( https://github.com/lonlonago)

SOURCE/resources/overview.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## TensorFlow 白皮书 <a class="md-anchor" id="AUTOGENERATED-tensorflow-whitepaper"></a>
55

6-
在这份白皮书里,你可以找到关于 TensorFlow 编程模型的更多详情和 TensorFlow 的实现原理
6+
在这份白皮书里,你可以找到关于 TensorFlow 编程模型的更多详情和 TensorFlow 的实现原理
77

88
* [TensorFlow: Large-scale machine learning on heterogeneous systems](http://download.tensorflow.org/paper/whitepaper2015.pdf)
99

@@ -16,8 +16,8 @@
1616

1717
### 讨论 <a class="md-anchor" id="AUTOGENERATED-discuss"></a>
1818

19-
* GitHub: <https://github.com/tensorflow/tensorflow>
20-
* Stack Overflow: <https://stackoverflow.com/questions/tagged/tensorflow>
19+
* [GitHub ](https://github.com/tensorflow/tensorflow)
20+
* [Stack Overflow](https://stackoverflow.com/questions/tagged/tensorflow)
2121
* [TensorFlow 讨论邮件列表](https://groups.google.com/a/tensorflow.org/d/forum/discuss)
2222

2323
### 报告 Issues <a class="md-anchor" id="AUTOGENERATED-report-issues"></a>
@@ -29,7 +29,11 @@
2929
* 如果你有兴趣为 TensorFlow 贡献代码请
3030
[阅读这篇代码贡献指南](https://github.com/tensorflow/tensorflow/blob/master/CONTRIBUTING.md).
3131

32-
> 原文:[http://tensorflow.org/resources/bib.md](http://tensorflow.org/resources/bib.md) 翻译:[Jim-Zenn](https://github.com/Jim-Zenn)
32+
> 原文:[http://tensorflow.org/resources/bib.md](http://tensorflow.org/resources/bib.md)
33+
>
34+
> 翻译:[Jim-Zenn](https://github.com/Jim-Zenn)
35+
>
36+
> 校对:[lonlonago]( https://github.com/lonlonago)
3337
3438
<div class='sections-order' style="display: none;">
3539
<!--

SOURCE/tutorials/mnist/tf/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# TensorFlow Mechanics 101 <a class="md-anchor" id="AUTOGENERATED-tensorflow-mechanics-101"></a>
23

34
Code: [tensorflow/g3doc/tutorials/mnist/](https://tensorflow.googlesource.com/tensorflow/+/master/tensorflow/g3doc/tutorials/mnist/)

0 commit comments

Comments
 (0)