Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#417 from PaddlePaddle/shanyi15-patch-1
Browse files Browse the repository at this point in the history
Update cluster_train_data_cn.rst
  • Loading branch information
luotao1 authored Nov 30, 2018
2 parents ac3edb4 + b7c48b2 commit 62e89cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _api_guide_cluster_train_data:

####################
分布式训练数据准备
分布式训练reader准备
####################

一个数据并行的分布式训练任务通常会含有多个训练进程,每个训练进程处理整个数据集中的一部分,根据当前进程的唯一序号(trainer_id)以及训练进程总数(trainers)可以决定当前训练进程应该读取哪一部分数据。
Expand Down Expand Up @@ -61,4 +61,4 @@
my_files = file_dispatcher(files_pattern, triners, trainer_id)
在上述例子中,`files_pattern` 是训练文件的 `glob 表达式 <https://docs.python.org/2.7/library/glob.html>`_,一般可以用通配符来表示。
在上述例子中,`files_pattern` 是训练文件的 `glob 表达式 <https://docs.python.org/2.7/library/glob.html>`_,一般可以用通配符来表示。

0 comments on commit 62e89cd

Please sign in to comment.