- 20 3月, 2017 1 次提交
-
-
由 Helin Wang 提交于
-
- 06 3月, 2017 3 次提交
-
-
由 qiaolongfei 提交于
-
由 qiaolongfei 提交于
-
由 qiaolongfei 提交于
-
- 05 3月, 2017 1 次提交
-
-
由 qiaolongfei 提交于
-
- 04 3月, 2017 1 次提交
-
-
由 Helin Wang 提交于
example usage: import paddle.v2 as paddle if __name__ == '__main__': dict_en, dict_fr = paddle.dataset.wmt14.build_dict() train = paddle.dataset.wmt14.train(dict_en, dict_fr) test = paddle.dataset.wmt14.test(dict_en, dict_fr) total_train = 0 for i in train(): total_train += 1 total_test = 0 for i in test(): total_test += 1 print total_train, total_test
-