diff --git a/python/paddle/fluid/layers/control_flow.py b/python/paddle/fluid/layers/control_flow.py index 532ffd754dbfb2963b90d38b221d2fe7711fec31..82f3d66ded9c12f6625cfe2cafeba956f5265efd 100644 --- a/python/paddle/fluid/layers/control_flow.py +++ b/python/paddle/fluid/layers/control_flow.py @@ -236,7 +236,7 @@ class ParallelDo(object): """ ParallelDo is used to represent multi-thread data parallel processing. - Its vanilla implementation can be shown as the following (:math:`|` means + Its vanilla implementation can be shown as the following (:math:`|` means single thread and :math:`||||` means multiple threads) .. code-block:: text @@ -252,7 +252,7 @@ class ParallelDo(object): |||| Compute backward pass in parallel | accumulate param@grad from different devices to the first device | Merge input@grad from different devices -  | Copy param@grad to the place of parallel_do_op + | Copy param@grad to the place of parallel_do_op Examples: