File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
caicloud.tensorflow/caicloud/clever/examples Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ # TaaS 平台样例模型训练样例任务代码
2
+
3
+ 本目录下提供了一些在 TaaS 平台([ 公有云平台] ( taas.caicloud.io ) )上分布式执行的模型训练任务代码。
4
+
5
+ ## half\_ plus\_ two
6
+
7
+ 该样例代码用于演示如何导出一个线性回归推理模型,以及在导出模型时如何添加附加的文件。
8
+
9
+ 该线性回归推理模型用于计算下面线性函数:
10
+ y = a* x + b
11
+ 其中,参数 a 的值为 0.5,参数 b 的值为 2,x 是输入,y 是输出。
12
+
13
+ 该线性回归推理模型会以 saved_model 的格式被导出到指定目录中。
14
+
15
+ ## two\_ inputs\_ three\_ outputs
16
+
17
+ 该样例代码用于演示包含两个输入和三个输出的模型的导出以及如何 Serving 中过滤模型输出。该模型包含三个线性函数:
18
+ y1 = 0.5* x1 + 2
19
+ y2 = 2* x1 + 3
20
+ y3 = 4* x2 + 5
21
+
22
+ 其中,x1 和 x2 是输入,y1、y2 和 y3 是输出。
23
+
24
+ ## mnist
25
+
26
+ 该样例代码提供如何在 TaaS 平台上分布式执行手写体识别模型、自定义模型初始化、导出模型等。
27
+
28
+ ## PTB(Penn Tree Bank)
29
+
30
+ 该样例使用 [ Penn Tree Bank] ( https://catalog.ldc.upenn.edu/ldc99t42 ) (PTB) 数据集展示如何在 TaaS 平台支持 Recurrent Neural Network(RNN) 来实现一个预言模型。PTB 模型的说明具体说明可以参考 [ Recurrent Neural Network] ( https://www.tensorflow.org/tutorials/recurrent ) 。
31
+
32
+ ## Boston House
33
+
34
+ 该样例演示了如何在 TaaS 平台上支持 tf.contrib.learn 的分布式模型训练任务。
35
+
36
+ ## recommandation
37
+
38
+
39
+
40
+
You can’t perform that action at this time.
0 commit comments