Skip to content

Commit 1f38cbf

Browse files
committed
"fix some typo"
1 parent 45f18b0 commit 1f38cbf

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

paddle/fluid/operators/uniform_random_batch_size_like_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class UniformRandomBatchSizeLikeOpMaker : public BatchSizeLikeOpMaker {
3535
protected:
3636
void Apply() override {
3737
AddComment(R"DOC(
38-
Uniform random operator
38+
UniformRandomBatchSizeLike operator.
3939
4040
This operator initializes a tensor with the same batch_size as the Input tensor
4141
with random values sampled from a uniform distribution.

python/paddle/fluid/layers/control_flow.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,8 +866,7 @@ def array_write(x, i, array=None):
866866
Variable: The output LOD_TENSOR_ARRAY where the input tensor is written.
867867
868868
Examples:
869-
870-
.. code-block::python
869+
.. code-block:: python
871870
872871
tmp = fluid.layers.zeros(shape=[10], dtype='int32')
873872
i = fluid.layers.fill_constant(shape=[1], dtype='int64', value=10)

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2935,7 +2935,7 @@ def split(input, num_or_sections, dim=-1, name=None):
29352935
will be named automatically.
29362936
29372937
Returns:
2938-
List: The list of segmented tensor variables.
2938+
list(Variable): The list of segmented tensor variables.
29392939
29402940
Examples:
29412941
.. code-block:: python

0 commit comments

Comments
 (0)