From c7fb78b0a5245cf6852b3cf7d0e617e75c404b46 Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Thu, 18 May 2017 19:48:54 +0800 Subject: [PATCH] follow comments --- python/paddle/trainer_config_helpers/layers.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python/paddle/trainer_config_helpers/layers.py b/python/paddle/trainer_config_helpers/layers.py index cf7e54ef50..ec81e1dc3d 100755 --- a/python/paddle/trainer_config_helpers/layers.py +++ b/python/paddle/trainer_config_helpers/layers.py @@ -226,17 +226,17 @@ class LayerType(object): class AggregateLevel(object): """ - As PaddlePaddle supports three sequence types: + PaddlePaddle supports three sequence types: - :code:`SequenceType.NO_SEQUENCE` means the sample is not a sequence. - :code:`SequenceType.SEQUENCE` means the sample is a sequence. - - :code:`SequenceType.SUB_SEQUENCE` means it is a nested sequence, that - each timestep of the input sequence is also a sequence. + - :code:`SequenceType.SUB_SEQUENCE` means the sample is a nested sequence, + each timestep of which is also a sequence. - Thus, AggregateLevel supports two modes: + Accordingly, AggregateLevel supports two modes: - :code:`AggregateLevel.EACH_TIMESTEP` means the aggregation acts on each - timestep of sequence, both :code:`SUB_SEQUENCE` and :code:`SEQUENCE` will + timestep of a sequence, both :code:`SUB_SEQUENCE` and :code:`SEQUENCE` will be aggregated to :code:`NO_SEQUENCE`. - :code:`AggregateLevel.EACH_SEQUENCE` means the aggregation acts on each -- GitLab