caicloud / tensorflow-tutorial

Example TensorFlow codes and Caicloud TensorFlow as a Service dev environment.
2.93k stars 2.08k forks source link

MNIST 样例中添加了对 global 变量的注释说明 #11

Closed lienhua34 closed 7 years ago

lienhua34 commented 7 years ago

MNIST 样例代码 mnist_export.py 中的 model_fn() 和 train_fn() 都使用了 global 变量,这里添加了为何使用 global 变量的注释说明。

lienhua34 commented 7 years ago

@perhapszzy PTAL