forked from horance-liu/tensorflow-internals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tensorflow-internals.aux
1108 lines (1108 loc) · 124 KB
/
tensorflow-internals.aux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
\relax
\providecommand\hyper@newdestlabel[2]{}
\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument}
\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined
\global\let\oldcontentsline\contentsline
\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
\global\let\oldnewlabel\newlabel
\gdef\newlabel#1#2{\newlabelxx{#1}#2}
\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
\AtEndDocument{\ifx\hyper@anchor\@undefined
\let\contentsline\oldcontentsline
\let\newlabel\oldnewlabel
\fi}
\fi}
\global\let\hyper@last\relax
\gdef\HyperFirstAtBeginDocument#1{#1}
\providecommand*\HyPL@Entry[1]{}
\HyPL@Entry{0<</S/r>>}
\providecommand {\FN@pp@footnotehinttrue }{}
\providecommand {\FN@pp@footnote@aux }[2]{}
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{前言}{v}{chapter*.1}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:preface}{{}{v}{前言}{chapter*.1}{}}
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\HyPL@Entry{12<</S/D>>}
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {part}{第I部分\hspace {1em}基础知识}{1}{part.1}\protected@file@percent }
\citation{tf-white-paper}
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {1}介绍}{3}{chapter.1}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:introduction}{{1}{3}{介绍}{chapter.1}{}}
\@writefile{toc}{\contentsline {section}{\numberline {1.1}前世今生}{3}{section.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.1}DistBelief}{3}{subsection.1.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{编程模型}{4}{subsection.1.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{架构}{4}{subsection.1.1.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {1-1}{\ignorespaces DistBelief: Parameter Server架构\relax }}{4}{figure.caption.3}\protected@file@percent }
\providecommand*\caption@xref[2]{\@setref\relax\@undefined{#1}}
\newlabel{fig:parameter-server}{{1-1}{4}{DistBelief: Parameter Server架构\relax }{figure.caption.3}{}}
\@writefile{toc}{\contentsline {subsubsection}{缺陷}{4}{figure.caption.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1.2}TensorFlow}{5}{subsection.1.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{编程模型}{5}{subsection.1.1.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {1-2}{\ignorespaces TensorFlow: 数据流图\relax }}{5}{figure.caption.4}\protected@file@percent }
\newlabel{fig:tf-dataflow}{{1-2}{5}{TensorFlow: 数据流图\relax }{figure.caption.4}{}}
\@writefile{toc}{\contentsline {subsubsection}{设计原则}{5}{figure.caption.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{优势}{6}{Item.9}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {1.2}社区发展}{6}{section.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.1}开源}{6}{subsection.1.2.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {1-3}{\ignorespaces TensorFlow:社区活跃度\relax }}{7}{figure.caption.5}\protected@file@percent }
\newlabel{fig:tf-commits}{{1-3}{7}{TensorFlow:社区活跃度\relax }{figure.caption.5}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.2}里程碑}{7}{subsection.1.2.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {1-4}{\ignorespaces TensorFlow重要里程碑\relax }}{7}{figure.caption.6}\protected@file@percent }
\newlabel{fig:tf-versions}{{1-4}{7}{TensorFlow重要里程碑\relax }{figure.caption.6}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2.3}工业应用}{7}{subsection.1.2.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {1-5}{\ignorespaces TensorFlow:在Google内部使用情况\relax }}{8}{figure.caption.7}\protected@file@percent }
\newlabel{fig:tf-google-apps}{{1-5}{8}{TensorFlow:在Google内部使用情况\relax }{figure.caption.7}{}}
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {2}编程环境}{9}{chapter.2}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:prog-env}{{2}{9}{编程环境}{chapter.2}{}}
\@writefile{toc}{\contentsline {section}{\numberline {2.1}代码结构}{9}{section.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.1}克隆源码}{9}{subsection.2.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.2}源码结构}{9}{subsection.2.1.2}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-1}TensorFlow源码结构}{9}{lstlisting.2.1}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-2}TensorFlow代码统计}{10}{lstlisting.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.3}Core}{10}{subsection.2.1.3}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-3}Core源码结构}{10}{lstlisting.2.3}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-4}Core代码统计}{11}{lstlisting.2.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.4}Python}{11}{subsection.2.1.4}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-5}Python源码结构}{11}{lstlisting.2.5}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-6}Python代码统计}{12}{lstlisting.2.6}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.5}Contrib}{12}{subsection.2.1.5}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-7}Contrib源码结构}{12}{lstlisting.2.7}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-8}Contrib代码统计}{13}{lstlisting.2.8}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.6}StreamExecutor}{14}{subsection.2.1.6}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-9}StreamExecutor源码结构}{14}{lstlisting.2.9}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-10}StreamExecutor代码统计}{14}{lstlisting.2.10}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1.7}Compiler}{14}{subsection.2.1.7}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-11}Compiler源码结构}{14}{lstlisting.2.11}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {2-12}Compiler代码统计}{15}{lstlisting.2.12}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {2.2}工程构建}{15}{section.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2.1}环境准备}{15}{subsection.2.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{安装JDK}{15}{subsection.2.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{安装Bazel}{16}{lstnumber.-4.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{安装Swig}{16}{lstnumber.-6.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{安装Python依赖包}{16}{lstnumber.-7.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{安装CUDA工具包}{16}{lstnumber.-9.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2.2}配置}{17}{subsection.2.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2.3}构建}{17}{subsection.2.2.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2.4}安装}{17}{subsection.2.2.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2.5}验证}{18}{subsection.2.2.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2.6}IDE}{18}{subsection.2.2.6}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{创建Eclipse工程}{18}{subsection.2.2.6}\protected@file@percent }
\@writefile{lot}{\contentsline {table}{\numberline {2.1}{\ignorespaces 头文件搜索目录\relax }}{18}{table.caption.8}\protected@file@percent }
\newlabel{tbl:tf-includes}{{2.1}{18}{头文件搜索目录\relax }{table.caption.8}{}}
\@writefile{toc}{\contentsline {subsubsection}{配置Eigen}{18}{figure.caption.9}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {2-1}{\ignorespaces 创建Eclipse C++工程\relax }}{19}{figure.caption.9}\protected@file@percent }
\newlabel{fig:setup-eclipse}{{2.2.6}{19}{创建Eclipse工程}{figure.caption.9}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {2-2}{\ignorespaces 替换{\sffamily Eigen}的头文件\relax }}{19}{figure.caption.10}\protected@file@percent }
\newlabel{fig:eclipse-eigen3}{{2-2}{19}{替换\ascii {Eigen}的头文件\relax }{figure.caption.10}{}}
\@writefile{toc}{\contentsline {section}{\numberline {2.3}代码生成}{20}{section.2.3}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {2.4}技术栈}{20}{section.2.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {2-3}{\ignorespaces TensorFlow技术栈\relax }}{20}{figure.caption.11}\protected@file@percent }
\newlabel{fig:tf-stack}{{2.4}{20}{技术栈}{figure.caption.11}{}}
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {3}破冰之旅}{21}{chapter.3}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:ice-breaker}{{3}{21}{破冰之旅}{chapter.3}{}}
\FN@pp@footnote@aux{1}{21}
\@writefile{toc}{\contentsline {section}{\numberline {3.1}问题提出}{21}{section.3.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-1}{\ignorespaces MNIST样本数据表示\relax }}{21}{figure.caption.12}\protected@file@percent }
\newlabel{fig:mnist-x}{{3-1}{21}{MNIST样本数据表示\relax }{figure.caption.12}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.1}样本数据集}{22}{subsection.3.1.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-2}{\ignorespaces MNIST训练数据集:输入数据集\relax }}{22}{figure.caption.13}\protected@file@percent }
\newlabel{fig:mnist-train-xs}{{3-2}{22}{MNIST训练数据集:输入数据集\relax }{figure.caption.13}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-3}{\ignorespaces MNIST训练数据集:标签数据集\relax }}{22}{figure.caption.14}\protected@file@percent }
\newlabel{fig:mnist-train-ys}{{3-3}{22}{MNIST训练数据集:标签数据集\relax }{figure.caption.14}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.2}图示说明}{22}{subsection.3.1.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-4}{\ignorespaces 一次mini-batch的训练样本数据集,其中{\sffamily \footnotesize {\texttt {batch\_size=100}}}\relax }}{23}{figure.caption.15}\protected@file@percent }
\newlabel{fig:mnist-training-digits}{{3-4}{23}{一次mini-batch的训练样本数据集,其中\code {batch\_size=100}\relax }{figure.caption.15}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-5}{\ignorespaces 当前的模型精度:基于测试样本数据集\relax }}{23}{figure.caption.16}\protected@file@percent }
\newlabel{fig:mnist-test-digits}{{3-5}{23}{当前的模型精度:基于测试样本数据集\relax }{figure.caption.16}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-6}{\ignorespaces 训练和测试的交叉熵损失\relax }}{24}{figure.caption.17}\protected@file@percent }
\newlabel{fig:mnist-cross-entropy-loss-fig}{{3-6}{24}{训练和测试的交叉熵损失\relax }{figure.caption.17}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-7}{\ignorespaces 训练和测试的精度\relax }}{24}{figure.caption.18}\protected@file@percent }
\newlabel{fig:mnist-accuracy-fig}{{3-7}{24}{训练和测试的精度\relax }{figure.caption.18}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-8}{\ignorespaces 权重分布图\relax }}{25}{figure.caption.19}\protected@file@percent }
\newlabel{fig:mnist-weight-fig}{{3-8}{25}{权重分布图\relax }{figure.caption.19}{}}
\@writefile{toc}{\contentsline {section}{\numberline {3.2}单层感知器}{25}{section.3.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-9}{\ignorespaces 单层感知器\relax }}{25}{figure.caption.20}\protected@file@percent }
\newlabel{fig:mnist-slp}{{3-9}{25}{单层感知器\relax }{figure.caption.20}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}理论基础}{26}{subsection.3.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{符号定义}{26}{subsection.3.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{softmax函数}{26}{subsection.3.2.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-10}{\ignorespaces softmax函数\relax }}{26}{figure.caption.21}\protected@file@percent }
\newlabel{fig:softmax}{{3-10}{26}{softmax函数\relax }{figure.caption.21}{}}
\@writefile{toc}{\contentsline {subsubsection}{权重与偏置}{27}{figure.caption.21}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{模型定义}{27}{figure.caption.21}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{交叉熵函数}{28}{figure.caption.21}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{计算梯度}{28}{figure.caption.21}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{参数更新}{28}{figure.caption.21}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}定义模型}{28}{subsection.3.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{输入和标签}{29}{subsection.3.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{定义变量}{29}{lstnumber.-19.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{模型定义}{29}{lstnumber.-21.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-11}{\ignorespaces 线性加权和\relax }}{30}{figure.caption.22}\protected@file@percent }
\newlabel{fig:mnist-linear-sum}{{3-11}{30}{线性加权和\relax }{figure.caption.22}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-12}{\ignorespaces 激活函数:softmax\relax }}{30}{figure.caption.23}\protected@file@percent }
\newlabel{fig:mnist-softmax}{{3-12}{30}{激活函数:softmax\relax }{figure.caption.23}{}}
\@writefile{toc}{\contentsline {subsubsection}{损失函数}{30}{figure.caption.23}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-13}{\ignorespaces 交叉熵损失函数\relax }}{31}{figure.caption.24}\protected@file@percent }
\newlabel{fig:mnist-cross-entropy}{{3-13}{31}{交叉熵损失函数\relax }{figure.caption.24}{}}
\@writefile{toc}{\contentsline {subsubsection}{精度}{31}{figure.caption.24}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}优化算法}{31}{subsection.3.2.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-14}{\ignorespaces 梯度下降算法\relax }}{32}{figure.caption.25}\protected@file@percent }
\newlabel{fig:mnist-gd}{{3-14}{32}{梯度下降算法\relax }{figure.caption.25}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}训练模型}{32}{subsection.3.2.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-15}{\ignorespaces 可视化:单层感知器,运行1000次step\relax }}{33}{figure.caption.26}\protected@file@percent }
\newlabel{fig:mnist-slp-accuracy}{{3-15}{33}{可视化:单层感知器,运行1000次step\relax }{figure.caption.26}{}}
\@writefile{toc}{\contentsline {section}{\numberline {3.3}多层感知器}{33}{section.3.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-16}{\ignorespaces 5层感知器\relax }}{33}{figure.caption.27}\protected@file@percent }
\newlabel{fig:mnist-5-layer}{{3-16}{33}{5层感知器\relax }{figure.caption.27}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.1}理论基础}{33}{subsection.3.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{符号定义}{33}{subsection.3.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{前向传播}{34}{subsection.3.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{后向传播}{34}{subsection.3.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{参数更新}{35}{subsection.3.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.2}定义模型}{35}{subsection.3.3.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.3.3}优化技术}{36}{subsection.3.3.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{激活函数:ReLU}{36}{subsection.3.3.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-17}{\ignorespaces ReLU激活函数\relax }}{36}{figure.caption.28}\protected@file@percent }
\newlabel{fig:mnist-relu}{{3-17}{36}{ReLU激活函数\relax }{figure.caption.28}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-18}{\ignorespaces 应用ReLU激活函数:初始收敛速度提升显著\relax }}{37}{figure.caption.29}\protected@file@percent }
\newlabel{fig:mnist-sigmoid-to-relu}{{3-18}{37}{应用ReLU激活函数:初始收敛速度提升显著\relax }{figure.caption.29}{}}
\@writefile{toc}{\contentsline {subsubsection}{不定值}{37}{figure.caption.29}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{学习速率衰减}{38}{lstnumber.-32.5}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-19}{\ignorespaces 噪声抖动:学习速率过大\relax }}{38}{figure.caption.30}\protected@file@percent }
\newlabel{fig:mnist-lr-too-larger}{{3-19}{38}{噪声抖动:学习速率过大\relax }{figure.caption.30}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-20}{\ignorespaces 应用Adam优化算法后,精度和损失趋于稳定\relax }}{39}{figure.caption.31}\protected@file@percent }
\newlabel{fig:mnist-apply-learning-rate-decay}{{3-20}{39}{应用Adam优化算法后,精度和损失趋于稳定\relax }{figure.caption.31}{}}
\@writefile{toc}{\contentsline {subsubsection}{应用Dropout}{39}{figure.caption.31}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-21}{\ignorespaces 过拟合\relax }}{39}{figure.caption.32}\protected@file@percent }
\newlabel{fig:mnist-overfitting}{{3-21}{39}{过拟合\relax }{figure.caption.32}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-22}{\ignorespaces Dropout方法\relax }}{40}{figure.caption.33}\protected@file@percent }
\newlabel{fig:mnist-dropout}{{3-22}{40}{Dropout方法\relax }{figure.caption.33}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-23}{\ignorespaces 实施Dropout后,训练集与测试集的损失曲线再次重合\relax }}{41}{figure.caption.34}\protected@file@percent }
\newlabel{fig:mnist-apply-dropout-result}{{3-23}{41}{实施Dropout后,训练集与测试集的损失曲线再次重合\relax }{figure.caption.34}{}}
\@writefile{toc}{\contentsline {section}{\numberline {3.4}卷积网络}{41}{section.3.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.1}特征与优势}{41}{subsection.3.4.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{局部连接}{41}{subsection.3.4.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-24}{\ignorespaces 局部连接\relax }}{42}{figure.caption.35}\protected@file@percent }
\newlabel{fig:mnist-conv-local-conn}{{3-24}{42}{局部连接\relax }{figure.caption.35}{}}
\@writefile{toc}{\contentsline {subsubsection}{权值共享}{42}{figure.caption.35}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-25}{\ignorespaces 权值共享,多个过滤器\relax }}{42}{figure.caption.36}\protected@file@percent }
\newlabel{fig:mnist-conv-local-conn-2}{{3-25}{42}{权值共享,多个过滤器\relax }{figure.caption.36}{}}
\@writefile{toc}{\contentsline {subsubsection}{下采样}{42}{figure.caption.36}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-26}{\ignorespaces 下采样\relax }}{43}{figure.caption.37}\protected@file@percent }
\newlabel{fig:mnist-subsample}{{3-26}{43}{下采样\relax }{figure.caption.37}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.2}卷积运算}{43}{subsection.3.4.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-27}{\ignorespaces 卷积运算\relax }}{43}{figure.caption.38}\protected@file@percent }
\newlabel{fig:mnist-conv2d-gif}{{3-27}{43}{卷积运算\relax }{figure.caption.38}{}}
\@writefile{toc}{\contentsline {subsubsection}{例子}{44}{figure.caption.38}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-28}{\ignorespaces 卷积运算:卷积核与图片块的点积运算\relax }}{44}{figure.caption.39}\protected@file@percent }
\newlabel{fig:mnist-conv-1dot}{{3-28}{44}{卷积运算:卷积核与图片块的点积运算\relax }{figure.caption.39}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-29}{\ignorespaces 卷积运算:卷积核遍历图片,步长为1\relax }}{44}{figure.caption.40}\protected@file@percent }
\newlabel{fig:mnist-conv-ndot}{{3-29}{44}{卷积运算:卷积核遍历图片,步长为1\relax }{figure.caption.40}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-30}{\ignorespaces 卷积运算:多个卷积核\relax }}{45}{figure.caption.41}\protected@file@percent }
\newlabel{fig:mnist-conv-multi-filters}{{3-30}{45}{卷积运算:多个卷积核\relax }{figure.caption.41}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.3}公式推导}{45}{subsection.3.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{前向传播}{45}{subsection.3.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{后向传播}{45}{subsection.3.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.4}实现卷积网络}{46}{subsection.3.4.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-31}{\ignorespaces 卷积层的过滤器\relax }}{46}{figure.caption.42}\protected@file@percent }
\newlabel{fig:mnist-filter}{{3-31}{46}{卷积层的过滤器\relax }{figure.caption.42}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-32}{\ignorespaces 实现卷积神经网络\relax }}{46}{figure.caption.43}\protected@file@percent }
\newlabel{fig:mnist-conv2d-1}{{3-32}{46}{实现卷积神经网络\relax }{figure.caption.43}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-33}{\ignorespaces 实现卷积网络:可以得到{\sffamily 98.9\%}的准确率\relax }}{47}{figure.caption.44}\protected@file@percent }
\newlabel{fig:mnist-conv2d-1-result}{{3-33}{47}{实现卷积网络:可以得到\percent {98.9}的准确率\relax }{figure.caption.44}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {3.4.5}增强卷积网络}{47}{subsection.3.4.5}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {3-34}{\ignorespaces 改善卷积神经网络\relax }}{48}{figure.caption.45}\protected@file@percent }
\newlabel{fig:mnist-conv2d-2}{{3-34}{48}{改善卷积神经网络\relax }{figure.caption.45}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-35}{\ignorespaces 增强卷积网络:可以得到{\sffamily 99.3\%}的准确率\relax }}{49}{figure.caption.46}\protected@file@percent }
\newlabel{fig:mnist-conv2d-2-result}{{3-35}{49}{增强卷积网络:可以得到\percent {99.3}的准确率\relax }{figure.caption.46}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {3-36}{\ignorespaces 增强卷积网络:过拟合问题明显改善\relax }}{49}{figure.caption.47}\protected@file@percent }
\newlabel{fig:mnist-conv2d-3-result}{{3-36}{49}{增强卷积网络:过拟合问题明显改善\relax }{figure.caption.47}{}}
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {part}{第II部分\hspace {1em}系统架构}{51}{part.2}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {4}系统架构}{53}{chapter.4}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:architecture}{{4}{53}{系统架构}{chapter.4}{}}
\@writefile{toc}{\contentsline {section}{\numberline {4.1}系统架构}{53}{section.4.1}\protected@file@percent }
\FN@pp@footnote@aux{2}{53}
\@writefile{lof}{\contentsline {figure}{\numberline {4-1}{\ignorespaces TensorFlow系统架构\relax }}{54}{figure.caption.48}\protected@file@percent }
\newlabel{fig:tf-architecture}{{4-1}{54}{TensorFlow系统架构\relax }{figure.caption.48}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.1}Client}{54}{subsection.4.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.2}Master}{55}{subsection.4.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.3}Worker}{55}{subsection.4.1.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1.4}Kernel}{56}{subsection.4.1.4}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {4.2}图控制}{56}{section.4.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2.1}组建集群}{56}{subsection.4.2.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {4-2}{\ignorespaces TensorFlow集群:{\sffamily 1 PS + 1 Worker}\relax }}{57}{figure.caption.49}\protected@file@percent }
\newlabel{fig:tf-1ps-1worker}{{4-2}{57}{TensorFlow集群:\ascii {1 PS + 1 Worker}\relax }{figure.caption.49}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2.2}图构造}{57}{subsection.4.2.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {4-3}{\ignorespaces 图构造\relax }}{57}{figure.caption.50}\protected@file@percent }
\newlabel{fig:tf-graph-construction}{{4.2.2}{57}{图构造}{figure.caption.50}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2.3}图执行}{57}{subsection.4.2.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {4-4}{\ignorespaces 图执行\relax }}{58}{figure.caption.51}\protected@file@percent }
\newlabel{fig:tf-graph-execution}{{4.2.3}{58}{图执行}{figure.caption.51}{}}
\@writefile{toc}{\contentsline {subsubsection}{图分裂}{58}{figure.caption.51}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {4-5}{\ignorespaces 图分裂:按任务划分\relax }}{58}{figure.caption.52}\protected@file@percent }
\newlabel{fig:tf-graph-split-by-task}{{4.2.3}{58}{图分裂}{figure.caption.52}{}}
\@writefile{toc}{\contentsline {subsubsection}{子图注册}{58}{figure.caption.52}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {4-6}{\ignorespaces 子图注册:插入Send和Recv节点\relax }}{59}{figure.caption.53}\protected@file@percent }
\newlabel{fig:tf-register-graph}{{4.2.3}{59}{子图注册}{figure.caption.53}{}}
\@writefile{toc}{\contentsline {subsubsection}{子图运算}{59}{figure.caption.53}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {4-7}{\ignorespaces 子图执行\relax }}{59}{figure.caption.54}\protected@file@percent }
\newlabel{fig:tf-run-graph}{{4.2.3}{59}{子图运算}{figure.caption.54}{}}
\@writefile{toc}{\contentsline {section}{\numberline {4.3}会话管理}{59}{section.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.1}创建会话}{60}{subsection.4.3.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {4-8}{\ignorespaces 创建会话\relax }}{60}{figure.caption.55}\protected@file@percent }
\newlabel{fig:tf-create-session-overview}{{4.3.1}{60}{创建会话}{figure.caption.55}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.2}迭代运行}{60}{subsection.4.3.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {4-9}{\ignorespaces 迭代执行\relax }}{60}{figure.caption.56}\protected@file@percent }
\newlabel{fig:tf-run-step-overview}{{4.3.2}{60}{迭代运行}{figure.caption.56}{}}
\@writefile{toc}{\contentsline {subsubsection}{注册子图}{60}{figure.caption.56}\protected@file@percent }
\FN@pp@footnote@aux{3}{61}
\@writefile{toc}{\contentsline {subsubsection}{运行子图}{61}{figure.caption.56}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{交换数据}{61}{lstnumber.-39.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {4.3.3}关闭会话}{61}{subsection.4.3.3}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{lof}{\contentsline {figure}{\numberline {4-10}{\ignorespaces Worker之间的数据交换\relax }}{62}{figure.caption.57}\protected@file@percent }
\newlabel{fig:tf-recv-tensor-overview}{{4.3.2}{62}{交换数据}{figure.caption.57}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {4-11}{\ignorespaces 关闭会话\relax }}{62}{figure.caption.58}\protected@file@percent }
\newlabel{fig:tf-close-session-overview}{{4.3.3}{62}{关闭会话}{figure.caption.58}{}}
\@writefile{toc}{\contentsline {chapter}{\numberline {5}C API:分水岭}{63}{chapter.5}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:c-api}{{5}{63}{C API:分水岭}{chapter.5}{}}
\@writefile{toc}{\contentsline {section}{\numberline {5.1}Swig:幕后英雄}{63}{section.5.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-1}{\ignorespaces Swig代码生成器\relax }}{64}{figure.caption.59}\protected@file@percent }
\newlabel{fig:swig}{{5-1}{64}{Swig代码生成器\relax }{figure.caption.59}{}}
\@writefile{toc}{\contentsline {section}{\numberline {5.2}会话控制}{65}{section.5.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-2}{\ignorespaces 客户端:tensorflow::Session实例创建过程\relax }}{65}{figure.caption.60}\protected@file@percent }
\newlabel{fig:tf-client-session}{{5-2}{65}{客户端:tensorflow::Session实例创建过程\relax }{figure.caption.60}{}}
\@writefile{toc}{\contentsline {section}{\numberline {5.3}会话生命周期}{65}{section.5.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.1}Python前端}{65}{subsection.5.3.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-3}{\ignorespaces Python: Session生命周期\relax }}{66}{figure.caption.61}\protected@file@percent }
\newlabel{fig:py-session-lifecycle}{{5-3}{66}{Python: Session生命周期\relax }{figure.caption.61}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.3.2}C++后端}{66}{subsection.5.3.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-4}{\ignorespaces C++: Session生命周期\relax }}{67}{figure.caption.62}\protected@file@percent }
\newlabel{fig:cc-session-lifecycle}{{5-4}{67}{C++: Session生命周期\relax }{figure.caption.62}{}}
\@writefile{toc}{\contentsline {section}{\numberline {5.4}创建会话}{68}{section.5.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-5}{\ignorespaces 创建会话\relax }}{68}{figure.caption.63}\protected@file@percent }
\newlabel{fig:py-create-session}{{5-5}{68}{创建会话\relax }{figure.caption.63}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.1}编程接口}{68}{subsection.5.4.1}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-1}tensorflow/python/client/session.py}{68}{lstlisting.5.1}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-2}tensorflow/python/client/session.py}{68}{lstlisting.5.2}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-3}tensorflow/python/framework/ops.py}{69}{lstlisting.5.3}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-4}tensorflow/python/framework/c\_api\_util.py}{69}{lstlisting.5.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-6}{\ignorespaces 前后端:图实例传递\relax }}{70}{figure.caption.64}\protected@file@percent }
\newlabel{fig:tf-graph-inst}{{5-6}{70}{前后端:图实例传递\relax }{figure.caption.64}{}}
\@writefile{toc}{\contentsline {subsubsection}{Python包装器}{70}{figure.caption.64}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-5}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.py}{70}{lstlisting.5.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{C++包装器}{70}{lstnumber.5.5.5}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-6}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.cc}{70}{lstlisting.5.6}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.2}C API}{71}{subsection.5.4.2}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-7}tensorflow/c/c\_api.c}{71}{lstlisting.5.7}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.4.3}后端系统}{71}{subsection.5.4.3}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-8}tensorflow/c/c\_api.c}{71}{lstlisting.5.8}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{工厂方法}{72}{lstnumber.5.8.13}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-7}{\ignorespaces tensorflow::Session创建:抽象工厂方法\relax }}{72}{figure.caption.65}\protected@file@percent }
\newlabel{fig:cc-session-factory}{{5-7}{72}{tensorflow::Session创建:抽象工厂方法\relax }{figure.caption.65}{}}
\@writefile{toc}{\contentsline {section}{\numberline {5.5}创建/扩展图}{72}{section.5.5}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-8}{\ignorespaces 创建图\relax }}{73}{figure.caption.66}\protected@file@percent }
\newlabel{fig:py-session-create-graph}{{5-8}{73}{创建图\relax }{figure.caption.66}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.5.1}编程接口}{73}{subsection.5.5.1}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-9}tensorflow/python/client/session.py}{73}{lstlisting.5.9}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-10}tensorflow/python/client/session.py}{73}{lstlisting.5.10}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Python包装器}{74}{lstnumber.5.10.15}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-11}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.py}{74}{lstlisting.5.11}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{C++包装器}{74}{lstnumber.5.11.2}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-12}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.cc}{74}{lstlisting.5.12}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.5.2}C API}{74}{subsection.5.5.2}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-13}tensorflow/c/c\_api.c}{74}{lstlisting.5.13}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.5.3}后端系统}{74}{subsection.5.5.3}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-14}tensorflow/core/common\_runtime/session.h}{74}{lstlisting.5.14}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{首次扩展图: GrpcSession}{75}{lstnumber.5.14.5}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-15}tensorflow/core/distributed\_runtime/rpc/grpc\_session.cc}{75}{lstlisting.5.15}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {5.6}迭代运行}{75}{section.5.6}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-9}{\ignorespaces 迭代执行\relax }}{75}{figure.caption.67}\protected@file@percent }
\newlabel{fig:py-session-run}{{5-9}{75}{迭代执行\relax }{figure.caption.67}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.1}编程接口}{76}{subsection.5.6.1}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-16}tensorflow/python/client/session.py}{76}{lstlisting.5.16}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Python包装器}{76}{lstnumber.5.16.15}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-17}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.py}{76}{lstlisting.5.17}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{C++包装器}{76}{lstnumber.5.17.9}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-18}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.cc}{76}{lstlisting.5.18}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.2}C API}{77}{subsection.5.6.2}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-19}tensorflow/c/c\_api.c}{77}{lstlisting.5.19}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.6.3}后端系统}{77}{subsection.5.6.3}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-20}tensorflow/core/common\_runtime/session.h}{77}{lstlisting.5.20}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {5.7}关闭会话}{78}{section.5.7}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-10}{\ignorespaces 关闭会话\relax }}{78}{figure.caption.68}\protected@file@percent }
\newlabel{fig:py-session-close}{{5-10}{78}{关闭会话\relax }{figure.caption.68}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.1}编程接口}{78}{subsection.5.7.1}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-21}tensorflow/python/client/session.py}{78}{lstlisting.5.21}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Python包装器}{79}{lstnumber.5.21.15}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-22}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.py}{79}{lstlisting.5.22}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{C++包装器}{79}{lstnumber.5.22.5}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-23}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.cc}{79}{lstlisting.5.23}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.2}C API}{79}{subsection.5.7.2}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-24}tensorflow/c/c\_api.c}{79}{lstlisting.5.24}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.7.3}后端系统}{80}{subsection.5.7.3}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-25}tensorflow/core/common\_runtime/session.h}{80}{lstlisting.5.25}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {5.8}销毁会话}{80}{section.5.8}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-11}{\ignorespaces 销毁会话\relax }}{80}{figure.caption.69}\protected@file@percent }
\newlabel{fig:py-delete-session}{{5-11}{80}{销毁会话\relax }{figure.caption.69}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.1}编程接口}{80}{subsection.5.8.1}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-26}tensorflow/python/client/session.py}{80}{lstlisting.5.26}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Python包装器}{81}{lstnumber.5.26.20}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-27}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.py}{81}{lstlisting.5.27}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{C++包装器}{81}{lstnumber.5.27.5}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-28}tensorflow/bazel-bin/tensorflow/python/pywrap\_tensorflow\_internal.cc}{81}{lstlisting.5.28}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.2}C API}{81}{subsection.5.8.2}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-29}tensorflow/c/c\_api.c}{82}{lstlisting.5.29}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.8.3}后端系统}{82}{subsection.5.8.3}\protected@file@percent }
\@writefile{lol}{\contentsline {lstlisting}{\numberline {5-30}tensorflow/core/common\_runtime/session.h}{82}{lstlisting.5.30}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {5.9}性能调优}{82}{section.5.9}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {5.9.1}共享图实例}{82}{subsection.5.9.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-12}{\ignorespaces 计算图:Session引用计数器技术\relax }}{83}{figure.caption.70}\protected@file@percent }
\newlabel{fig:tf-graph-session-relation}{{5-12}{83}{计算图:Session引用计数器技术\relax }{figure.caption.70}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {5.9.2}消除序列化}{83}{subsection.5.9.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {5-13}{\ignorespaces 图实例:序列化/反序列化\relax }}{83}{figure.caption.71}\protected@file@percent }
\newlabel{fig:tf-old-session-interface}{{5-13}{83}{图实例:序列化/反序列化\relax }{figure.caption.71}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {5-14}{\ignorespaces 图实例:实施注册ascii{OP}\relax }}{83}{figure.caption.72}\protected@file@percent }
\newlabel{fig:tf-new-session-interface}{{5-14}{83}{图实例:实施注册ascii{OP}\relax }{figure.caption.72}{}}
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {part}{第III部分\hspace {1em}编程模型}{85}{part.3}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {6}计算图}{87}{chapter.6}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:computation-graph}{{6}{87}{计算图}{chapter.6}{}}
\@writefile{toc}{\contentsline {section}{\numberline {6.1}Python前端}{87}{section.6.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.1}Operation}{87}{subsection.6.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{领域模型}{87}{subsection.6.1.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-1}{\ignorespaces 领域对象:Operation\relax }}{88}{figure.caption.73}\protected@file@percent }
\newlabel{fig:py-operation}{{6-1}{88}{领域对象:Operation\relax }{figure.caption.73}{}}
\@writefile{toc}{\contentsline {subsubsection}{构造器}{88}{figure.caption.73}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{属性集}{89}{lstnumber.-43.47}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{运行OP}{89}{lstnumber.-44.30}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.2}Tensor}{90}{subsection.6.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{生产者与消费者}{90}{subsection.6.1.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-2}{\ignorespaces Tensor: 生产者-消费者\relax }}{90}{figure.caption.74}\protected@file@percent }
\newlabel{fig:py-tensor-producter-consumer}{{6-2}{90}{Tensor: 生产者-消费者\relax }{figure.caption.74}{}}
\@writefile{toc}{\contentsline {subsubsection}{领域模型}{90}{figure.caption.74}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-3}{\ignorespaces 领域对象:Tensor\relax }}{91}{figure.caption.75}\protected@file@percent }
\newlabel{fig:py-tensor}{{6-3}{91}{领域对象:Tensor\relax }{figure.caption.75}{}}
\@writefile{toc}{\contentsline {subsubsection}{建立关联}{91}{figure.caption.75}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{属性集}{92}{lstnumber.-48.14}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{评估}{92}{lstnumber.-49.36}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.3}TensorShape}{93}{subsection.6.1.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-4}{\ignorespaces TensorShape\relax }}{93}{figure.caption.76}\protected@file@percent }
\newlabel{fig:py-tensor-shape}{{6-4}{93}{TensorShape\relax }{figure.caption.76}{}}
\@writefile{toc}{\contentsline {subsubsection}{工厂方法}{93}{lstnumber.-52.9}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{部分定义}{94}{lstnumber.-53.8}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{完全定义}{94}{lstnumber.-54.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{属性集}{94}{lstnumber.-55.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{转换}{94}{lstnumber.-56.11}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.4}Graph}{96}{subsection.6.1.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{领域模型}{96}{subsection.6.1.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-5}{\ignorespaces 领域对象:Graph\relax }}{96}{figure.caption.77}\protected@file@percent }
\newlabel{fig:py-graph}{{6-5}{96}{领域对象:Graph\relax }{figure.caption.77}{}}
\@writefile{toc}{\contentsline {subsubsection}{分组}{97}{lstnumber.-62.7}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{图实例}{99}{lstnumber.-64.8}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{名字空间}{100}{lstnumber.-67.37}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{控制依赖}{101}{lstnumber.-70.6}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{容器}{103}{lstnumber.-74.7}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.1.5}图构造}{103}{subsection.6.1.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{OpDef仓库}{104}{subsection.6.1.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{工厂方法}{104}{lstnumber.-77.26}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-6}{\ignorespaces Graph: OP工厂 + OP仓库\relax }}{105}{figure.caption.78}\protected@file@percent }
\newlabel{fig:py-op-factory-and-repo}{{6-6}{105}{Graph: OP工厂 + OP仓库\relax }{figure.caption.78}{}}
\@writefile{toc}{\contentsline {subsubsection}{OP构造器}{105}{figure.caption.78}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-7}{\ignorespaces OP构造器与代码生成器\relax }}{105}{figure.caption.79}\protected@file@percent }
\newlabel{fig:py-op-constructor}{{6-7}{105}{OP构造器与代码生成器\relax }{figure.caption.79}{}}
\@writefile{toc}{\contentsline {subsubsection}{构造OpDef与NodeDef}{105}{figure.caption.79}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-8}{\ignorespaces 创建Operation实例: 创建OpDef, NodeDef实例\relax }}{106}{figure.caption.80}\protected@file@percent }
\newlabel{fig:py-graph-create-op}{{6-8}{106}{创建Operation实例: 创建OpDef, NodeDef实例\relax }{figure.caption.80}{}}
\@writefile{toc}{\contentsline {section}{\numberline {6.2}后端C++}{106}{section.6.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.1}边}{106}{subsection.6.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{两个标识}{106}{Item.59}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-9}{\ignorespaces 领域对象:Edge\relax }}{107}{figure.caption.81}\protected@file@percent }
\newlabel{fig:cc-edge-model}{{6-9}{107}{领域对象:Edge\relax }{figure.caption.81}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {6-10}{\ignorespaces 边例子\relax }}{107}{figure.caption.82}\protected@file@percent }
\newlabel{fig:cc-edge-model-example}{{6-10}{107}{边例子\relax }{figure.caption.82}{}}
\@writefile{toc}{\contentsline {subsubsection}{控制依赖}{107}{figure.caption.82}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Tensor标识}{108}{lstnumber.-78.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.2}节点}{108}{subsection.6.2.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-11}{\ignorespaces 领域对象:Node\relax }}{108}{figure.caption.83}\protected@file@percent }
\newlabel{fig:cc-node-model}{{6-11}{108}{领域对象:Node\relax }{figure.caption.83}{}}
\@writefile{toc}{\contentsline {subsubsection}{输入边}{108}{figure.caption.83}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{前驱节点}{109}{lstnumber.-80.9}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.3}图}{109}{subsection.6.2.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-12}{\ignorespaces 领域模型:图\relax }}{109}{figure.caption.84}\protected@file@percent }
\newlabel{fig:cc-graph-model}{{6-12}{109}{领域模型:图\relax }{figure.caption.84}{}}
\@writefile{toc}{\contentsline {subsubsection}{空图}{109}{figure.caption.84}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-13}{\ignorespaces 空图\relax }}{110}{figure.caption.85}\protected@file@percent }
\newlabel{fig:cc-empty-graph}{{6-13}{110}{空图\relax }{figure.caption.85}{}}
\@writefile{toc}{\contentsline {subsubsection}{非空图}{110}{lstnumber.-82.18}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-14}{\ignorespaces 非空图\relax }}{111}{figure.caption.86}\protected@file@percent }
\newlabel{fig:cc-non-empty-graph}{{6-14}{111}{非空图\relax }{figure.caption.86}{}}
\@writefile{toc}{\contentsline {subsubsection}{添加边}{111}{figure.caption.86}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{添加控制依赖边}{111}{lstnumber.-83.26}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {6.2.4}OpDef仓库}{112}{subsection.6.2.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-15}{\ignorespaces OpDef注册:使用REGISTER\_OP\relax }}{112}{figure.caption.87}\protected@file@percent }
\newlabel{fig:cc-op-repo}{{6-15}{112}{OpDef注册:使用REGISTER\_OP\relax }{figure.caption.87}{}}
\@writefile{toc}{\contentsline {section}{\numberline {6.3}图传递}{112}{section.6.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {6-16}{\ignorespaces 图的序列化与反序列化\relax }}{112}{figure.caption.88}\protected@file@percent }
\newlabel{fig:py-graph-creation}{{6-16}{112}{图的序列化与反序列化\relax }{figure.caption.88}{}}
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {7}设备}{113}{chapter.7}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:device}{{7}{113}{设备}{chapter.7}{}}
\@writefile{toc}{\contentsline {section}{\numberline {7.1}设备规范}{113}{section.7.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {7.1.1}形式化}{113}{subsection.7.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{完整指定}{113}{lstnumber.-85.7}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{部分指定}{113}{lstnumber.-86.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{同位}{114}{lstnumber.-87.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{DeviceSpec}{114}{lstnumber.-88.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {7.1.2}上下文管理器}{114}{subsection.7.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{合并}{115}{lstnumber.-90.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{覆盖}{115}{lstnumber.-91.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{重置}{115}{lstnumber.-92.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{设备规范函数}{115}{lstnumber.-93.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{实现}{116}{lstnumber.-94.10}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{应用}{116}{lstnumber.-96.3}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {8}会话}{119}{chapter.8}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:session}{{8}{119}{会话}{chapter.8}{}}
\@writefile{toc}{\contentsline {section}{\numberline {8.1}资源管理}{119}{section.8.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {8.1.1}关闭会话}{119}{subsection.8.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {8.1.2}上下文管理器}{119}{subsection.8.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {8.1.3}图实例}{120}{subsection.8.1.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{引用计数器}{120}{subsection.8.1.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {8-1}{\ignorespaces 优化技术:会话实例的引用计数器\relax }}{120}{figure.caption.89}\protected@file@percent }
\newlabel{fig:tf-graph-session-relation}{{8-1}{120}{优化技术:会话实例的引用计数器\relax }{figure.caption.89}{}}
\@writefile{toc}{\contentsline {subsubsection}{数据结构}{120}{figure.caption.89}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{创建会话}{121}{lstnumber.-102.8}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{销毁会话}{121}{lstnumber.-103.15}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {8.2}默认会话}{121}{section.8.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.1}张量求值}{122}{subsection.8.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.2}OP运算}{122}{subsection.8.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {8.2.3}线程相关}{122}{subsection.8.2.3}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {8.3}会话类型}{123}{section.8.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {8-2}{\ignorespaces Session:类层次结构\relax }}{123}{figure.caption.90}\protected@file@percent }
\newlabel{fig:py-session-hierarchy}{{8-2}{123}{Session:类层次结构\relax }{figure.caption.90}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.1}Session}{123}{subsection.8.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.2}InteractiveSession}{124}{subsection.8.3.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {8.3.3}BaseSession}{124}{subsection.8.3.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{创建会话}{125}{subsection.8.3.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{执行计算图}{125}{lstnumber.-112.6}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{关闭会话}{125}{lstnumber.-113.13}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{销毁会话}{125}{lstnumber.-114.4}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {9}变量}{127}{chapter.9}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:variable}{{9}{127}{变量}{chapter.9}{}}
\@writefile{toc}{\contentsline {section}{\numberline {9.1}实战:线性模型}{127}{section.9.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {9-1}{\ignorespaces 计算图: 线性加权和\relax }}{128}{figure.caption.91}\protected@file@percent }
\newlabel{fig:tf-linear-model}{{9-1}{128}{计算图: 线性加权和\relax }{figure.caption.91}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {9-2}{\ignorespaces 计算图: 线性加权和\relax }}{128}{figure.caption.92}\protected@file@percent }
\newlabel{fig:tf-real-linear-model}{{9-2}{128}{计算图: 线性加权和\relax }{figure.caption.92}{}}
\@writefile{toc}{\contentsline {section}{\numberline {9.2}初始化模型}{128}{section.9.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.1}操作变量}{128}{subsection.9.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.2}初始值}{129}{subsection.9.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.3}初始化器}{129}{subsection.9.2.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.4}快照}{130}{subsection.9.2.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.5}变量子图}{130}{subsection.9.2.5}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {9-3}{\ignorespaces 变量子图\relax }}{130}{figure.caption.93}\protected@file@percent }
\newlabel{fig:variable-initialization-model}{{9-3}{130}{变量子图\relax }{figure.caption.93}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.6}初始化过程}{130}{subsection.9.2.6}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {9-4}{\ignorespaces 初始化OP\relax }}{131}{figure.caption.94}\protected@file@percent }
\newlabel{fig:variable-initialization-no-op}{{9-4}{131}{初始化OP\relax }{figure.caption.94}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.7}同位关系}{131}{subsection.9.2.7}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.8}初始化依赖}{132}{subsection.9.2.8}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {9-5}{\ignorespaces 初始化依赖\relax }}{132}{figure.caption.95}\protected@file@percent }
\newlabel{fig:variable-initialization-dependency-1}{{9-5}{132}{初始化依赖\relax }{figure.caption.95}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {9-6}{\ignorespaces 初始化OP\relax }}{133}{figure.caption.96}\protected@file@percent }
\newlabel{fig:variable-initialization-dependency-2}{{9-6}{133}{初始化OP\relax }{figure.caption.96}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {9.2.9}初始化器列表}{133}{subsection.9.2.9}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {9.3}变量分组}{134}{section.9.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.1}全局变量}{134}{subsection.9.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.2}本地变量}{134}{subsection.9.3.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.3}训练变量}{135}{subsection.9.3.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.3.4}global\_step}{135}{subsection.9.3.4}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {9.4}源码分析:构造变量}{135}{section.9.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.1}构造初始值}{136}{subsection.9.4.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.2}构造变量OP}{136}{subsection.9.4.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.3}构造初始化器}{136}{subsection.9.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.4}构造快照}{136}{subsection.9.4.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {9.4.5}变量分组}{136}{subsection.9.4.5}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {10}队列}{139}{chapter.10}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:queue}{{10}{139}{队列}{chapter.10}{}}
\@writefile{toc}{\contentsline {section}{\numberline {10.1}队列}{139}{section.10.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {10.1.1}FIFOQueue}{139}{subsection.10.1.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {10-1}{\ignorespaces 图构造期\relax }}{140}{figure.caption.97}\protected@file@percent }
\newlabel{fig:py-queue-example-1}{{10-1}{140}{图构造期\relax }{figure.caption.97}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {10-2}{\ignorespaces 图执行期:执行一次EnqueueMany\relax }}{140}{figure.caption.98}\protected@file@percent }
\newlabel{fig:py-queue-example-2}{{10-2}{140}{图执行期:执行一次EnqueueMany\relax }{figure.caption.98}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {10-3}{\ignorespaces 图执行期:执行一次Enqueue\relax }}{140}{figure.caption.99}\protected@file@percent }
\newlabel{fig:py-queue-example-3}{{10-3}{140}{图执行期:执行一次Enqueue\relax }{figure.caption.99}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {10.1.2}用途}{141}{subsection.10.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {10.2}协调器}{141}{section.10.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.1}使用方法}{141}{subsection.10.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.2}异常处理}{142}{subsection.10.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {10.2.3}实战:LoopThread}{143}{subsection.10.2.3}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {10.3}QueueRunner}{143}{section.10.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {10-4}{\ignorespaces TensorFlow系统架构\relax }}{143}{figure.caption.100}\protected@file@percent }
\newlabel{fig:tf-queue-runner-model}{{10-4}{143}{TensorFlow系统架构\relax }{figure.caption.100}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.1}注册QueueRunner}{143}{subsection.10.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.2}执行QueueRunner}{143}{subsection.10.3.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{迭代执行Enqueue}{144}{lstnumber.-146.19}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{监听队列关闭}{145}{lstnumber.-147.14}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {10.3.3}关闭队列}{145}{subsection.10.3.3}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {11}OP本质论}{147}{chapter.11}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:essential-op}{{11}{147}{OP本质论}{chapter.11}{}}
\@writefile{toc}{\contentsline {section}{\numberline {11.1}OP的注册}{147}{section.11.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.1}REGISTER\_OP}{147}{subsection.11.1.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {11-1}{\ignorespaces REGISTER\_OP:注册OP的实用宏\relax }}{147}{figure.caption.101}\protected@file@percent }
\newlabel{fig:cc-op-repo}{{11-1}{147}{REGISTER\_OP:注册OP的实用宏\relax }{figure.caption.101}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.2}查询接口}{147}{subsection.11.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {11.1.3}OpDef仓库}{148}{subsection.11.1.3}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {part}{第IV部分\hspace {1em}运行模型}{149}{part.4}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {12}本地执行}{151}{chapter.12}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:local}{{12}{151}{本地执行}{chapter.12}{}}
\@writefile{toc}{\contentsline {section}{\numberline {12.1}本地模式}{151}{section.12.1}\protected@file@percent }
\newlabel{sec:local-runtime}{{12.1}{151}{本地模式}{section.12.1}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {12-1}{\ignorespaces 本地模式\relax }}{151}{figure.caption.102}\protected@file@percent }
\newlabel{fig:local}{{12-1}{151}{本地模式\relax }{figure.caption.102}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {12-2}{\ignorespaces 本地模式:图操作\relax }}{152}{figure.caption.103}\protected@file@percent }
\newlabel{fig:local-runtime}{{12-2}{152}{本地模式:图操作\relax }{figure.caption.103}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.1.1}部分执行}{152}{subsection.12.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {12.1.2}并发执行}{152}{subsection.12.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {12.2}会话控制}{152}{section.12.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-3}{\ignorespaces DirectSession生命周期\relax }}{153}{figure.caption.104}\protected@file@percent }
\newlabel{fig:local-direct-session-lifecycle}{{12-3}{153}{DirectSession生命周期\relax }{figure.caption.104}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.2.1}领域模型}{153}{subsection.12.2.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-4}{\ignorespaces DirectSession领域模型\relax }}{154}{figure.caption.105}\protected@file@percent }
\newlabel{fig:local-direct-session-model}{{12-4}{154}{DirectSession领域模型\relax }{figure.caption.105}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.2.2}创建会话}{154}{subsection.12.2.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-5}{\ignorespaces 多态创建DirectSession\relax }}{154}{figure.caption.106}\protected@file@percent }
\newlabel{fig:local-direct-session-factory}{{12-5}{154}{多态创建DirectSession\relax }{figure.caption.106}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.2.3}销毁会话}{155}{subsection.12.2.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {12.2.4}创建/扩展图}{156}{subsection.12.2.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-6}{\ignorespaces 创建SimpleGraphExecutionState实例\relax }}{157}{figure.caption.107}\protected@file@percent }
\newlabel{fig:local-simple-graph-execution-state-model}{{12-6}{157}{创建SimpleGraphExecutionState实例\relax }{figure.caption.107}{}}
\@writefile{toc}{\contentsline {subsubsection}{图构造:GraphDef -> Graph}{158}{lstnumber.-160.12}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-7}{\ignorespaces {\sffamily \footnotesize {\texttt {GraphDef}}}与{\sffamily \footnotesize {\texttt {Graph}}}之间的格式转换\relax }}{158}{figure.caption.108}\protected@file@percent }
\newlabel{fig:local-graph-def-to-graph}{{12-7}{158}{\code {GraphDef}与\code {Graph}之间的格式转换\relax }{figure.caption.108}{}}
\@writefile{toc}{\contentsline {subsubsection}{OP编排:SimplePlacer}{158}{figure.caption.108}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-8}{\ignorespaces 费用模型\relax }}{158}{figure.caption.109}\protected@file@percent }
\newlabel{fig:local-cost-model}{{12-8}{158}{费用模型\relax }{figure.caption.109}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.2.5}迭代执行}{159}{subsection.12.2.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{图操作}{159}{subsection.12.2.5}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-9}{\ignorespaces 图变换\relax }}{159}{figure.caption.110}\protected@file@percent }
\newlabel{fig:local-graph-transformation}{{12-9}{159}{图变换\relax }{figure.caption.110}{}}
\@writefile{toc}{\contentsline {subsubsection}{形式化}{159}{figure.caption.110}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {12.2.6}关闭会话}{160}{subsection.12.2.6}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-10}{\ignorespaces CancellationManager工作原理\relax }}{161}{figure.caption.111}\protected@file@percent }
\newlabel{fig:local-cancellation-manager}{{12-10}{161}{CancellationManager工作原理\relax }{figure.caption.111}{}}
\@writefile{toc}{\contentsline {section}{\numberline {12.3}剪枝}{162}{section.12.3}\protected@file@percent }
\newlabel{sec:graph-operation-prune}{{12.3}{162}{剪枝}{section.12.3}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.3.1}构建ClientGraph}{162}{subsection.12.3.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-11}{\ignorespaces 生成{\sffamily \footnotesize {\texttt {ClientGraph}}}\relax }}{162}{figure.caption.112}\protected@file@percent }
\newlabel{fig:local-simple-graph-execution-state}{{12-11}{162}{生成\code {ClientGraph}\relax }{figure.caption.112}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.3.2}基于Rendezvous}{164}{subsection.12.3.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-12}{\ignorespaces 图剪枝:插入Send/Recv节点\relax }}{165}{figure.caption.113}\protected@file@percent }
\newlabel{fig:client-prune-graph}{{12-12}{165}{图剪枝:插入Send/Recv节点\relax }{figure.caption.113}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.3.3}基于FunctionCallFrame}{165}{subsection.12.3.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-13}{\ignorespaces 图剪枝:插入Arg/RetVal节点\relax }}{166}{figure.caption.114}\protected@file@percent }
\newlabel{fig:client-prune-graph-function-ops}{{12-13}{166}{图剪枝:插入Arg/RetVal节点\relax }{figure.caption.114}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.3.4}剪枝算法实现}{166}{subsection.12.3.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{追加输入节点}{167}{lstnumber.-167.13}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-14}{\ignorespaces 剪枝:输入边\relax }}{167}{figure.caption.115}\protected@file@percent }
\newlabel{fig:local-prune-feed}{{12-14}{167}{剪枝:输入边\relax }{figure.caption.115}{}}
\@writefile{toc}{\contentsline {subsubsection}{追加输出节点}{168}{lstnumber.-168.65}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-15}{\ignorespaces 剪枝:输出边\relax }}{168}{figure.caption.116}\protected@file@percent }
\newlabel{fig:local-prune-fetch}{{12-15}{168}{剪枝:输出边\relax }{figure.caption.116}{}}
\@writefile{toc}{\contentsline {subsubsection}{反向剪枝}{169}{lstnumber.-169.56}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {12.4}分裂}{171}{section.12.4}\protected@file@percent }
\newlabel{sec:graph-operation-split}{{12.4}{171}{分裂}{section.12.4}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {12-16}{\ignorespaces 按本地设备集执行图分裂\relax }}{171}{figure.caption.117}\protected@file@percent }
\newlabel{fig:local-graph-split-by-device}{{12-16}{171}{按本地设备集执行图分裂\relax }{figure.caption.117}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {12-17}{\ignorespaces 跨设备OP之间插入Send/Recv节点\relax }}{172}{figure.caption.118}\protected@file@percent }
\newlabel{fig:local-graph-split-insert-send-recv}{{12-17}{172}{跨设备OP之间插入Send/Recv节点\relax }{figure.caption.118}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.4.1}情况1}{172}{subsection.12.4.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-18}{\ignorespaces 情况1:src与dst在同一个Partition内\relax }}{172}{figure.caption.119}\protected@file@percent }
\newlabel{fig:split-graph-1}{{12-18}{172}{情况1:src与dst在同一个Partition内\relax }{figure.caption.119}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.4.2}情况2}{172}{subsection.12.4.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-19}{\ignorespaces 情况2:src与dst不在同一个Partition内,但两者之间是普通边\relax }}{173}{figure.caption.120}\protected@file@percent }
\newlabel{fig:split-graph-2}{{12-19}{173}{情况2:src与dst不在同一个Partition内,但两者之间是普通边\relax }{figure.caption.120}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.4.3}情况3}{173}{subsection.12.4.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-20}{\ignorespaces 情况3:src与dst不在同一个Partition内,但两者之间是控制依赖边\relax }}{173}{figure.caption.121}\protected@file@percent }
\newlabel{fig:split-graph-3}{{12-20}{173}{情况3:src与dst不在同一个Partition内,但两者之间是控制依赖边\relax }{figure.caption.121}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.4.4}分裂算法实现}{174}{subsection.12.4.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {12.4.5}回调函数}{176}{subsection.12.4.5}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-21}{\ignorespaces 本地模式:SplitByDevice\relax }}{177}{figure.caption.122}\protected@file@percent }
\newlabel{fig:intraprocess-splity-by-device}{{12-21}{177}{本地模式:SplitByDevice\relax }{figure.caption.122}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {12-22}{\ignorespaces 分布式模式:两级分裂\relax }}{177}{figure.caption.123}\protected@file@percent }
\newlabel{fig:interprocess-splity-by-worker}{{12-22}{177}{分布式模式:两级分裂\relax }{figure.caption.123}{}}
\@writefile{toc}{\contentsline {section}{\numberline {12.5}执行}{177}{section.12.5}\protected@file@percent }
\newlabel{sec:graph-operation-exec}{{12.5}{177}{执行}{section.12.5}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {12-23}{\ignorespaces 执行图\relax }}{178}{figure.caption.124}\protected@file@percent }
\newlabel{fig:local-graph-execution}{{12-23}{178}{执行图\relax }{figure.caption.124}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.5.1}输入}{179}{subsection.12.5.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {12.5.2}并发执行}{180}{subsection.12.5.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {12.5.3}输出}{181}{subsection.12.5.3}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {12.6}设备间通信}{183}{section.12.6}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {12.6.1}SendOp实现}{184}{subsection.12.6.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {12-24}{\ignorespaces 进程内{\sffamily \footnotesize {\texttt {SendOp}}}与{\sffamily \footnotesize {\texttt {RecvOp}}}的数据交换\relax }}{184}{figure.caption.125}\protected@file@percent }
\newlabel{fig:local-send-recv-ops}{{12-24}{184}{进程内\code {SendOp}与\code {RecvOp}的数据交换\relax }{figure.caption.125}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {12.6.2}RecvOp实现}{185}{subsection.12.6.2}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {13}分布式TensorFlow}{187}{chapter.13}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:distributed}{{13}{187}{分布式TensorFlow}{chapter.13}{}}
\@writefile{toc}{\contentsline {section}{\numberline {13.1}分布式模式}{187}{section.13.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-1}{\ignorespaces 分布式模式\relax }}{188}{figure.caption.126}\protected@file@percent }
\newlabel{fig:distributed}{{13-1}{188}{分布式模式\relax }{figure.caption.126}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.1.1}图操作}{188}{subsection.13.1.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-2}{\ignorespaces 分布式:图操作\relax }}{189}{figure.caption.127}\protected@file@percent }
\newlabel{fig:dist-runtime}{{13-2}{189}{分布式:图操作\relax }{figure.caption.127}{}}
\@writefile{toc}{\contentsline {subsubsection}{图分裂}{189}{figure.caption.127}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-3}{\ignorespaces 分布式:图分裂\relax }}{190}{figure.caption.128}\protected@file@percent }
\newlabel{fig:dist-exp-1}{{13-3}{190}{分布式:图分裂\relax }{figure.caption.128}{}}
\@writefile{toc}{\contentsline {subsubsection}{数据交换}{190}{figure.caption.128}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-4}{\ignorespaces 分布式:数据交换\relax }}{191}{figure.caption.129}\protected@file@percent }
\newlabel{fig:dist-exp-2}{{13-4}{191}{分布式:数据交换\relax }{figure.caption.129}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.1.2}形式化}{191}{subsection.13.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Master::RunStep}{191}{subsection.13.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Worker::RunStep}{192}{lstnumber.-181.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.1.3}领域模型}{192}{subsection.13.1.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-5}{\ignorespaces 分布式:领域模型\relax }}{193}{figure.caption.130}\protected@file@percent }
\newlabel{fig:cc-dist-model}{{13-5}{193}{分布式:领域模型\relax }{figure.caption.130}{}}
\@writefile{toc}{\contentsline {subsubsection}{Cluster}{193}{figure.caption.130}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Job}{193}{figure.caption.130}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-6}{\ignorespaces 分布式模型训练:PS与Worker之间的交互\relax }}{193}{figure.caption.131}\protected@file@percent }
\newlabel{fig:py-dist-ps-worker}{{13-6}{193}{分布式模型训练:PS与Worker之间的交互\relax }{figure.caption.131}{}}
\@writefile{toc}{\contentsline {subsubsection}{Task}{194}{figure.caption.131}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Server}{194}{figure.caption.131}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.1.4}组建集群}{194}{subsection.13.1.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{集群配置}{194}{Item.91}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Protobuf描述}{195}{lstnumber.-183.10}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {13.2}Master服务}{195}{section.13.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.2.1}接口定义}{195}{subsection.13.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.2.2}访问服务}{196}{subsection.13.2.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-7}{\ignorespaces {\sffamily \footnotesize {\texttt {MasterInterface}}}\relax }}{197}{figure.caption.132}\protected@file@percent }
\newlabel{fig:dist-master-interface}{{13-7}{197}{\code {MasterInterface}\relax }{figure.caption.132}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.2.3}RPC过程}{198}{subsection.13.2.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-8}{\ignorespaces Client获取MasterService的原理\relax }}{198}{figure.caption.133}\protected@file@percent }
\newlabel{fig:dist-client-master-interaction}{{13-8}{198}{Client获取MasterService的原理\relax }{figure.caption.133}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.2.4}消息定义}{198}{subsection.13.2.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{CreateSession}{199}{subsection.13.2.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-9}{\ignorespaces {\sffamily \footnotesize {\texttt {CreateSession}}}\relax }}{199}{figure.caption.134}\protected@file@percent }
\newlabel{fig:dist-ms-create-sess-req}{{13-9}{199}{\code {CreateSession}\relax }{figure.caption.134}{}}
\@writefile{toc}{\contentsline {subsubsection}{ExtendSession}{199}{lstnumber.-188.10}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-10}{\ignorespaces {\sffamily \footnotesize {\texttt {ExtendSession}}}\relax }}{200}{figure.caption.135}\protected@file@percent }
\newlabel{fig:dist-ms-extend-sess-req}{{13-10}{200}{\code {ExtendSession}\relax }{figure.caption.135}{}}
\@writefile{toc}{\contentsline {subsubsection}{RunStep}{200}{lstnumber.-189.20}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-11}{\ignorespaces {\sffamily \footnotesize {\texttt {RunStep}}}\relax }}{200}{figure.caption.136}\protected@file@percent }
\newlabel{fig:dist-ms-run-step-req}{{13-11}{200}{\code {RunStep}\relax }{figure.caption.136}{}}
\@writefile{toc}{\contentsline {subsubsection}{CloseSession}{201}{lstnumber.-190.15}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-12}{\ignorespaces {\sffamily \footnotesize {\texttt {CloseSession}}}\relax }}{201}{figure.caption.137}\protected@file@percent }
\newlabel{fig:dist-ms-closs-sess}{{13-12}{201}{\code {CloseSession}\relax }{figure.caption.137}{}}
\@writefile{toc}{\contentsline {section}{\numberline {13.3}Worker服务}{201}{section.13.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.3.1}接口定义}{202}{subsection.13.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.3.2}访问服务}{202}{subsection.13.3.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-13}{\ignorespaces {\sffamily \footnotesize {\texttt {WorkerInterface}}}接口\relax }}{205}{figure.caption.138}\protected@file@percent }
\newlabel{fig:dist-worker-interface}{{13-13}{205}{\code {WorkerInterface}接口\relax }{figure.caption.138}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.3.3}RPC过程}{205}{subsection.13.3.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-14}{\ignorespaces 获取{\sffamily \footnotesize {\texttt {MasterService}}}的RPC过程\relax }}{206}{figure.caption.139}\protected@file@percent }
\newlabel{fig:dist-worker-interaction}{{13-14}{206}{获取\code {MasterService}的RPC过程\relax }{figure.caption.139}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.3.4}消息定义}{206}{subsection.13.3.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{CreateWorkerSession}{207}{Item.96}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-15}{\ignorespaces {\sffamily \footnotesize {\texttt {CreateWorkerSession}}}\relax }}{207}{figure.caption.140}\protected@file@percent }
\newlabel{fig:dist-worker-create-worker-sess}{{13-15}{207}{\code {CreateWorkerSession}\relax }{figure.caption.140}{}}
\@writefile{toc}{\contentsline {subsubsection}{RegisterGraph}{207}{lstnumber.-196.7}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-16}{\ignorespaces {\sffamily \footnotesize {\texttt {RegisterGraph}}}\relax }}{207}{figure.caption.141}\protected@file@percent }
\newlabel{fig:dist-worker-register-graph}{{13-16}{207}{\code {RegisterGraph}\relax }{figure.caption.141}{}}
\@writefile{toc}{\contentsline {subsubsection}{DeregisterGraph}{208}{lstnumber.-197.13}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-17}{\ignorespaces {\sffamily \footnotesize {\texttt {DeregisterGraph}}}\relax }}{208}{figure.caption.142}\protected@file@percent }
\newlabel{fig:dist-worker-deregister-graph}{{13-17}{208}{\code {DeregisterGraph}\relax }{figure.caption.142}{}}
\@writefile{toc}{\contentsline {subsubsection}{RunGraph}{208}{lstnumber.-198.7}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-18}{\ignorespaces {\sffamily \footnotesize {\texttt {RunGraph}}}\relax }}{209}{figure.caption.143}\protected@file@percent }
\newlabel{fig:dist-worker-run-graph}{{13-18}{209}{\code {RunGraph}\relax }{figure.caption.143}{}}
\@writefile{toc}{\contentsline {subsubsection}{RecvTensor}{209}{lstnumber.-199.22}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-19}{\ignorespaces {\sffamily \footnotesize {\texttt {RecvTensor}}}\relax }}{209}{figure.caption.144}\protected@file@percent }
\newlabel{fig:dist-worker-recv-tensor}{{13-19}{209}{\code {RecvTensor}\relax }{figure.caption.144}{}}
\@writefile{toc}{\contentsline {section}{\numberline {13.4}服务器}{210}{section.13.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.4.1}领域模型}{210}{subsection.13.4.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-20}{\ignorespaces Server领域模型\relax }}{211}{figure.caption.145}\protected@file@percent }
\newlabel{fig:cc-server-model}{{13-20}{211}{Server领域模型\relax }{figure.caption.145}{}}
\@writefile{toc}{\contentsline {subsubsection}{Protobuf描述}{211}{figure.caption.145}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{服务互联}{211}{lstnumber.-201.9}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-21}{\ignorespaces 服务互联\relax }}{211}{figure.caption.146}\protected@file@percent }
\newlabel{fig:cc-server-interact}{{13-21}{211}{服务互联\relax }{figure.caption.146}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {13-22}{\ignorespaces 单Client接入集群\relax }}{212}{figure.caption.147}\protected@file@percent }
\newlabel{fig:cc-server-interact-1}{{13-22}{212}{单Client接入集群\relax }{figure.caption.147}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {13-23}{\ignorespaces 多Client接入集群\relax }}{212}{figure.caption.148}\protected@file@percent }
\newlabel{fig:cc-server-interact-2}{{13-23}{212}{多Client接入集群\relax }{figure.caption.148}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.4.2}状态机}{213}{subsection.13.4.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-24}{\ignorespaces GrpcServer状态机\relax }}{213}{figure.caption.149}\protected@file@percent }
\newlabel{fig:dist-grpc-server-state-machine}{{13-24}{213}{GrpcServer状态机\relax }{figure.caption.149}{}}
\@writefile{toc}{\contentsline {subsubsection}{创建服务}{213}{figure.caption.149}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-25}{\ignorespaces 多态创建Server实例\relax }}{213}{figure.caption.150}\protected@file@percent }
\newlabel{fig:dist-grpc-server-factory}{{13-25}{213}{多态创建Server实例\relax }{figure.caption.150}{}}
\@writefile{toc}{\contentsline {subsubsection}{初始化MasterEnv}{214}{lstnumber.-204.5}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-26}{\ignorespaces {\sffamily \footnotesize {\texttt {MasterEnv}}}模型\relax }}{215}{figure.caption.151}\protected@file@percent }
\newlabel{fig:dist-master-env}{{13-26}{215}{\code {MasterEnv}模型\relax }{figure.caption.151}{}}
\@writefile{toc}{\contentsline {subsubsection}{初始化WorkerEnv}{215}{figure.caption.151}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-27}{\ignorespaces {\sffamily \footnotesize {\texttt {WorkerEnv}}}模型\relax }}{216}{figure.caption.152}\protected@file@percent }
\newlabel{fig:dist-worker-env}{{13-27}{216}{\code {WorkerEnv}模型\relax }{figure.caption.152}{}}
\@writefile{toc}{\contentsline {subsubsection}{启动grpc::Server}{216}{figure.caption.152}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{启动服务}{217}{lstnumber.-207.14}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{等待终止服务}{218}{lstnumber.-208.21}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{终止服务}{219}{lstnumber.-210.13}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.4.3}创建WorkerCacheInterface}{219}{subsection.13.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{工厂方法:GrpcServer::WorkerCacheFactory}{219}{subsection.13.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{工厂方法:NewGrpcChannelCache}{220}{lstnumber.-212.18}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{工厂方法:NewGrpcWorkerCacheWithLocalWorker}{220}{lstnumber.-213.11}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{工厂方法:GrpcServer::GetChannelCreationFunction}{220}{lstnumber.-214.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.4.4}创建Worker的RPC通道}{221}{subsection.13.4.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{隐式树}{222}{lstnumber.-216.8}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-28}{\ignorespaces 组合创建GRPC通道\relax }}{222}{figure.caption.153}\protected@file@percent }
\newlabel{fig:dist-grpc-channel-cache}{{13-28}{222}{组合创建GRPC通道\relax }{figure.caption.153}{}}
\@writefile{toc}{\contentsline {subsubsection}{缓存机制}{222}{figure.caption.153}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{叶子节点}{223}{lstnumber.-217.25}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{非叶子节点}{224}{lstnumber.-218.43}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.4.5}创建WorkerInterface}{225}{subsection.13.4.5}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-29}{\ignorespaces 多态创建{\sffamily \footnotesize {\texttt {WorkerInterface}}}实例\relax }}{225}{figure.caption.154}\protected@file@percent }
\newlabel{fig:dist-worker-cache-interface}{{13-29}{225}{多态创建\code {WorkerInterface}实例\relax }{figure.caption.154}{}}
\@writefile{toc}{\contentsline {section}{\numberline {13.5}会话控制}{226}{section.13.5}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.5.1}会话协同}{226}{subsection.13.5.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-30}{\ignorespaces 会话协同\relax }}{227}{figure.caption.155}\protected@file@percent }
\newlabel{fig:dist-session-overview}{{13-30}{227}{会话协同\relax }{figure.caption.155}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {13-31}{\ignorespaces 会话控制:领域模型\relax }}{227}{figure.caption.156}\protected@file@percent }
\newlabel{fig:dist-multi-client-conn}{{13-31}{227}{会话控制:领域模型\relax }{figure.caption.156}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.5.2}生命周期}{227}{subsection.13.5.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcSession生命周期}{228}{subsection.13.5.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-32}{\ignorespaces {\sffamily \footnotesize {\texttt {GrpcSession}}}生命周期\relax }}{228}{figure.caption.157}\protected@file@percent }
\newlabel{fig:dist-grpc-session-life-cycle}{{13-32}{228}{\code {GrpcSession}生命周期\relax }{figure.caption.157}{}}
\@writefile{toc}{\contentsline {subsubsection}{MasterSession生命周期}{228}{figure.caption.157}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-33}{\ignorespaces {\sffamily \footnotesize {\texttt {MasterSession}}}生命周期\relax }}{229}{figure.caption.158}\protected@file@percent }
\newlabel{fig:dist-master-session-life-cycle}{{13-33}{229}{\code {MasterSession}生命周期\relax }{figure.caption.158}{}}
\@writefile{toc}{\contentsline {subsubsection}{WorkerSession生命周期}{229}{figure.caption.158}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-34}{\ignorespaces {\sffamily \footnotesize {\texttt {WorkerSession}}}生命周期\relax }}{229}{figure.caption.159}\protected@file@percent }
\newlabel{fig:dist-worker-session-life-cycle}{{13-34}{229}{\code {WorkerSession}生命周期\relax }{figure.caption.159}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.5.3}会话过程}{230}{subsection.13.5.3}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {13.6}创建会话}{230}{section.13.6}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.6.1}创建GrpcSession}{230}{subsection.13.6.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-35}{\ignorespaces 创建{\sffamily \footnotesize {\texttt {GrpcSession}}}: {\sffamily \footnotesize {\texttt {tf.Session}}}持有{\sffamily \footnotesize {\texttt {GrpcSession}}}句柄\relax }}{231}{figure.caption.160}\protected@file@percent }
\newlabel{fig:dist-create-grpc-session-1}{{13-35}{231}{创建\code {GrpcSession}: \code {tf.Session}持有\code {GrpcSession}句柄\relax }{figure.caption.160}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {13-36}{\ignorespaces 多态创建GrpcSession\relax }}{231}{figure.caption.161}\protected@file@percent }
\newlabel{fig:dist-grpc-session-factory}{{13-36}{231}{多态创建GrpcSession\relax }{figure.caption.161}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.6.2}创建MasterSession}{233}{subsection.13.6.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-37}{\ignorespaces 创建{\sffamily \footnotesize {\texttt {MasterSession}}}\relax }}{233}{figure.caption.162}\protected@file@percent }
\newlabel{fig:dist-create-master-session-1}{{13-37}{233}{创建\code {MasterSession}\relax }{figure.caption.162}{}}
\@writefile{toc}{\contentsline {subsubsection}{GrpcSesion::Create(graph\_def)}{233}{figure.caption.162}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcRemoteMaster::CreateSession}{234}{lstnumber.-224.40}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcMasterService::CreateSessionHandler}{234}{lstnumber.-225.8}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Master::CreateSession}{235}{lstnumber.-226.9}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{MasterSession::Create(graph\_def)}{236}{lstnumber.-227.54}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.6.3}获取远端设备集}{236}{subsection.13.6.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-38}{\ignorespaces 获取远端设备集\relax }}{237}{figure.caption.163}\protected@file@percent }
\newlabel{fig:dist-worker-get-status}{{13-38}{237}{获取远端设备集\relax }{figure.caption.163}{}}
\@writefile{toc}{\contentsline {subsubsection}{设备查找器}{237}{figure.caption.163}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{NewRemoteDevices}{239}{lstnumber.-231.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcRemoteWorker::GetStatusAsync}{240}{lstnumber.-232.42}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcRemoteWorker::GetStatusAsync}{241}{lstnumber.-233.7}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Worker::GetStatusAsync}{241}{lstnumber.-234.9}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.6.4}创建WorkerSession}{241}{subsection.13.6.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-39}{\ignorespaces 动态创建{\sffamily \footnotesize {\texttt {WorkerSession}}}\relax }}{242}{figure.caption.164}\protected@file@percent }
\newlabel{fig:dist-create-worker-session}{{13-39}{242}{动态创建\code {WorkerSession}\relax }{figure.caption.164}{}}
\@writefile{toc}{\contentsline {subsubsection}{GrpcRemoteWorker}{244}{lstnumber.-238.131}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcWorkerService::CreateWorkerSessionHandler}{245}{lstnumber.-239.8}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{创建WorkerSession实例}{245}{lstnumber.-240.11}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-40}{\ignorespaces {\sffamily \footnotesize {\texttt {Session}}}管理器\relax }}{245}{figure.caption.165}\protected@file@percent }
\newlabel{fig:dist-worker-session-manager}{{13-40}{245}{\code {Session}管理器\relax }{figure.caption.165}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {13-41}{\ignorespaces {\sffamily \footnotesize {\texttt {WorkerSession}}}领域模型:可注册和运行多个图实例\relax }}{246}{figure.caption.166}\protected@file@percent }
\newlabel{fig:dist-worker-session-model}{{13-41}{246}{\code {WorkerSession}领域模型:可注册和运行多个图实例\relax }{figure.caption.166}{}}
\@writefile{toc}{\contentsline {section}{\numberline {13.7}迭代执行}{247}{section.13.7}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.7.1}启动执行}{247}{subsection.13.7.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-42}{\ignorespaces GprcSession: 启动RunStep\relax }}{247}{figure.caption.167}\protected@file@percent }
\newlabel{fig:dist-run-step-stage-1}{{13-42}{247}{GprcSession: 启动RunStep\relax }{figure.caption.167}{}}
\@writefile{toc}{\contentsline {subsubsection}{GrpcSession::Run}{247}{figure.caption.167}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcRemoteMaster::RunStep}{250}{lstnumber.-244.10}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcMasterService::RunStepHandler}{250}{lstnumber.-245.11}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Master::RunStep}{251}{lstnumber.-246.38}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{MasterSession::Run}{251}{lstnumber.-247.11}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{MasterSession::BuildAndRegisterPartitions}{252}{lstnumber.-249.29}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{ReffedClientGraph::RegisterPartitions}{252}{lstnumber.-250.19}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.7.2}图分裂:SplitByWorker}{253}{subsection.13.7.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{ReffedClientGraph::DoBuildPartitions}{253}{subsection.13.7.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.7.3}注册图}{253}{subsection.13.7.3}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-43}{\ignorespaces RegisterGraph\relax }}{253}{figure.caption.168}\protected@file@percent }
\newlabel{fig:dist-run-step-stage-2}{{13-43}{253}{RegisterGraph\relax }{figure.caption.168}{}}
\@writefile{toc}{\contentsline {subsubsection}{ReffedClientGraph::DoRegisterPartitions}{253}{figure.caption.168}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcRemoteWorker::RegisterGraphAsync}{254}{lstnumber.-253.47}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcWorkerService::RegisterGraphHandler}{254}{lstnumber.-254.14}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Worker::RegisterGraphAsync}{255}{lstnumber.-255.10}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GraphMgr::Register}{255}{lstnumber.-256.12}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.7.4}图分裂:SplitByDevice}{255}{subsection.13.7.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {13.7.5}运行图}{257}{subsection.13.7.5}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-44}{\ignorespaces RunGraph\relax }}{257}{figure.caption.169}\protected@file@percent }
\newlabel{fig:dist-run-step-stage-3}{{13-44}{257}{RunGraph\relax }{figure.caption.169}{}}
\@writefile{toc}{\contentsline {subsubsection}{ReffedClientGraph::RunPartitions}{257}{figure.caption.169}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcRemoteWorker::RunGraphAsync}{259}{lstnumber.-259.90}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcWorkerService::RunGraphHandler}{259}{lstnumber.-260.11}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Worker::RunGraphAsync}{259}{lstnumber.-261.23}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GraphMgr}{261}{lstnumber.-263.74}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-45}{\ignorespaces Worker: RunStep形式化\relax }}{261}{figure.caption.170}\protected@file@percent }
\newlabel{fig:dist-run-step-overview}{{13-45}{261}{Worker: RunStep形式化\relax }{figure.caption.170}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.7.6}Rendzvous}{264}{subsection.13.7.6}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-46}{\ignorespaces Rendezvous层次结构\relax }}{264}{figure.caption.171}\protected@file@percent }
\newlabel{fig:rendezvous-hierarchy}{{13-46}{264}{Rendezvous层次结构\relax }{figure.caption.171}{}}
\@writefile{toc}{\contentsline {subsubsection}{多态创建}{264}{figure.caption.171}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-47}{\ignorespaces RemoteRendezvous多态创建\relax }}{264}{figure.caption.172}\protected@file@percent }
\newlabel{fig:rendezvous-remote-mgr}{{13-47}{264}{RemoteRendezvous多态创建\relax }{figure.caption.172}{}}
\@writefile{toc}{\contentsline {subsubsection}{发送}{264}{figure.caption.172}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-48}{\ignorespaces Rendezvous发送\relax }}{264}{figure.caption.173}\protected@file@percent }
\newlabel{fig:rendzvous-send}{{13-48}{264}{Rendezvous发送\relax }{figure.caption.173}{}}
\@writefile{toc}{\contentsline {subsubsection}{接收}{265}{figure.caption.173}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {13-49}{\ignorespaces Rendezvous接收:分布式发送端与接收端在同一个Worker内\relax }}{265}{figure.caption.174}\protected@file@percent }
\newlabel{fig:rendezvous-recv-case-1}{{13-49}{265}{Rendezvous接收:分布式发送端与接收端在同一个Worker内\relax }{figure.caption.174}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {13-50}{\ignorespaces Rendezvous接收:分布式发送端与接收端不在同一个Worker内\relax }}{265}{figure.caption.175}\protected@file@percent }
\newlabel{fig:rendezvous-recv-case-2}{{13-50}{265}{Rendezvous接收:分布式发送端与接收端不在同一个Worker内\relax }{figure.caption.175}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {13.7.7}注销图}{266}{subsection.13.7.7}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {13.8}关闭会话}{266}{section.13.8}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcSession}{266}{section.13.8}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcRemoteMaster}{266}{lstnumber.-268.15}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcMasterService}{266}{lstnumber.-269.10}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Master}{267}{lstnumber.-270.10}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{MasterSession}{267}{lstnumber.-271.26}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{ReffedClientGraph}{267}{lstnumber.-272.18}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GrpcWorkerService}{268}{lstnumber.-274.28}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Worker}{268}{lstnumber.-275.11}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{GraphMgr}{269}{lstnumber.-276.9}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {part}{第V部分\hspace {1em}模型训练}{271}{part.5}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {14}BP算法}{273}{chapter.14}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:bp}{{14}{273}{BP算法}{chapter.14}{}}
\@writefile{toc}{\contentsline {section}{\numberline {14.1}TensorFlow实现}{273}{section.14.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {14.1.1}计算梯度}{273}{subsection.14.1.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{构造算法}{274}{lstnumber.-281.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {14-1}{\ignorespaces 构造反向传播子图\relax }}{274}{figure.caption.176}\protected@file@percent }
\newlabel{fig:bp-back-graph-construction}{{14-1}{274}{构造反向传播子图\relax }{figure.caption.176}{}}
\@writefile{toc}{\contentsline {subsubsection}{梯度函数原型}{275}{figure.caption.176}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{实战:平方函数}{275}{lstnumber.-283.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {14-2}{\ignorespaces Square函数:正向传播子图\relax }}{275}{figure.caption.177}\protected@file@percent }
\newlabel{fig:bp-square-forward-graph}{{14-2}{275}{Square函数:正向传播子图\relax }{figure.caption.177}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {14-3}{\ignorespaces Square函数:反向传播子图\relax }}{275}{figure.caption.178}\protected@file@percent }
\newlabel{fig:bp-square-backward-graph}{{14-3}{275}{Square函数:反向传播子图\relax }{figure.caption.178}{}}
\@writefile{lof}{\contentsline {figure}{\numberline {14-4}{\ignorespaces Square函数:反向传播子图\relax }}{276}{figure.caption.179}\protected@file@percent }
\newlabel{fig:bp-square-backward-graph-2}{{14-4}{276}{Square函数:反向传播子图\relax }{figure.caption.179}{}}
\@writefile{toc}{\contentsline {subsubsection}{实战:指数函数}{276}{figure.caption.179}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {14-5}{\ignorespaces Exp函数:反向传播子图\relax }}{277}{figure.caption.180}\protected@file@percent }
\newlabel{fig:bp-exp-backward-graph}{{14-5}{277}{Exp函数:反向传播子图\relax }{figure.caption.180}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {14.1.2}应用梯度}{277}{subsection.14.1.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{构造算法}{277}{subsection.14.1.2}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {14-6}{\ignorespaces 参数更新子图\relax }}{278}{figure.caption.181}\protected@file@percent }
\newlabel{fig:bp-update-w}{{14-6}{278}{参数更新子图\relax }{figure.caption.181}{}}
\@writefile{toc}{\contentsline {subsubsection}{参数更新汇总}{278}{figure.caption.181}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {14-7}{\ignorespaces 参数更新汇总\relax }}{278}{figure.caption.182}\protected@file@percent }
\newlabel{fig:bp-update-all-params}{{14-7}{278}{参数更新汇总\relax }{figure.caption.182}{}}
\@writefile{toc}{\contentsline {subsubsection}{探秘train\_op}{279}{figure.caption.182}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {14-8}{\ignorespaces train\_op\relax }}{279}{figure.caption.183}\protected@file@percent }
\newlabel{fig:bp-train-op}{{14-8}{279}{train\_op\relax }{figure.caption.183}{}}
\@writefile{toc}{\contentsline {subsubsection}{工作流}{279}{figure.caption.183}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{lof}{\contentsline {figure}{\numberline {14-9}{\ignorespaces 模型训练的工作流\relax }}{280}{figure.caption.184}\protected@file@percent }
\newlabel{fig:bp-train-pipeline}{{14-9}{280}{模型训练的工作流\relax }{figure.caption.184}{}}
\@writefile{toc}{\contentsline {chapter}{\numberline {15}数据加载}{281}{chapter.15}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:input-pipeline}{{15}{281}{数据加载}{chapter.15}{}}
\@writefile{toc}{\contentsline {section}{\numberline {15.1}数据注入}{281}{section.15.1}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {15.2}数据预加载}{282}{section.15.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.1}使用Const}{282}{subsection.15.2.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.2}使用Variable}{282}{subsection.15.2.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.2.3}批次预加载}{283}{subsection.15.2.3}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {15.3}数据管道}{283}{section.15.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.1}构建文件名队列}{284}{subsection.15.3.1}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.2}读取器}{284}{subsection.15.3.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.3}解码器}{284}{subsection.15.3.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.4}构建样本队列}{285}{subsection.15.3.4}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.3.5}输入子图}{285}{subsection.15.3.5}\protected@file@percent }
\@writefile{toc}{\contentsline {section}{\numberline {15.4}数据协同}{285}{section.15.4}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {15-1}{\ignorespaces 模型训练工作流\relax }}{286}{figure.caption.185}\protected@file@percent }
\newlabel{fig:tf-input-pipeline}{{15-1}{286}{模型训练工作流\relax }{figure.caption.185}{}}
\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.1}阶段1}{286}{subsection.15.4.1}\protected@file@percent }
\@writefile{lof}{\contentsline {figure}{\numberline {15-2}{\ignorespaces 阶段1:模型训练工作流\relax }}{286}{figure.caption.186}\protected@file@percent }
\newlabel{fig:tf-input-pipeline-stage-1}{{15-2}{286}{阶段1:模型训练工作流\relax }{figure.caption.186}{}}
\@writefile{toc}{\contentsline {subsubsection}{随机化}{286}{figure.caption.186}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Epoch控制}{287}{figure.caption.186}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{入队操作}{288}{lstnumber.-300.36}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{QueueRunner}{288}{lstnumber.-300.36}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.2}阶段2}{288}{subsection.15.4.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{读取器}{288}{subsection.15.4.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{解码器}{288}{subsection.15.4.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{入队操作}{289}{subsection.15.4.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{并发执行}{289}{subsection.15.4.2}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.3}阶段3}{289}{subsection.15.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{出队操作}{289}{subsection.15.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{迭代执行}{289}{subsection.15.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsubsection}{Checkpoint}{289}{subsection.15.4.3}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {15.4.4}Pipeline节拍}{290}{subsection.15.4.4}\protected@file@percent }
\FN@pp@footnotehinttrue
\@writefile{toc}{\contentsline {chapter}{\numberline {16}Saver}{291}{chapter.16}\protected@file@percent }
\@writefile{lof}{\addvspace {10\p@ }}
\@writefile{lot}{\addvspace {10\p@ }}
\newlabel{ch:saver}{{16}{291}{Saver}{chapter.16}{}}
\@writefile{toc}{\contentsline {section}{\numberline {16.1}Saver}{291}{section.16.1}\protected@file@percent }