caicloud / tensorflow-tutorial

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

提供支持 contrib.learn 的开发环境 #41

Closed lienhua34 closed 7 years ago

lienhua34 commented 7 years ago

将原来的支持原生 TensorFlow API 的开发环境 dist_base.py 移动到 tensorflow/core 目录下, 在 tensorflow/contrib/learn 中添加了支持 tf.contrib.learn 的 Experiment 类。

为了保持跟原来接口的一致性,新增文件 tensorflow/dist_base/init.py 来提供 ModelFnHandler、DistTensorflowRunner、Experiment 和 cfg 等 API。

另外,在 examples 目录下增加 boston house 样例代码。

lienhua34 commented 7 years ago

@perhapszzy PTAL