Skip to content

Commit 7bdb573

Browse files
committed
update with comments
1 parent 7694199 commit 7bdb573

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

paddle/fluid/operators/elementwise_op.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ For example:
9494
9595
shape(X) = (2, 3, 4, 5), shape(Y) = (,)
9696
shape(X) = (2, 3, 4, 5), shape(Y) = (5,)
97-
shape(X) = (2, 3, 4, 5), shape(Y) = (4, 5)
97+
shape(X) = (2, 3, 4, 5), shape(Y) = (4, 5), with axis=-1(default) or axis=2
9898
shape(X) = (2, 3, 4, 5), shape(Y) = (3, 4), with axis=1
9999
shape(X) = (2, 3, 4, 5), shape(Y) = (2), with axis=0
100100
shape(X) = (2, 3, 4, 5), shape(Y) = (2, 1), with axis=0

python/paddle/fluid/layers/nn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ def sequence_pool(input, pool_type):
14091409

14101410
def sequence_first_step(input):
14111411
"""
1412-
This function get the first step of sequence.
1412+
This function gets the first step of sequence.
14131413
14141414
.. code-block:: text
14151415
@@ -1442,7 +1442,7 @@ def sequence_first_step(input):
14421442

14431443
def sequence_last_step(input):
14441444
"""
1445-
This function get the last step of sequence.
1445+
This function gets the last step of sequence.
14461446
14471447
.. code-block:: text
14481448

0 commit comments

Comments
 (0)