Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancaishaonvjituizi committed May 25, 2022
1 parent 9797d10 commit 3b4b8fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/paddle/tensor/math.py
Expand Up @@ -2908,7 +2908,7 @@ def cumsum(x, axis=None, dtype=None, name=None):
The cumulative sum of the elements along a given axis.
**Note**:
The first element of the result is the same of the first element of the input.
The first element of the result is the same as the first element of the input.
Args:
x (Tensor): The input tensor needed to be cumsumed.
Expand Down Expand Up @@ -2974,14 +2974,14 @@ def logcumsumexp(x, axis=None, dtype=None, name=None):
r"""
The logarithm of the cumulative summation of the exponentiation of the elements along a given axis.
For summation index j given by dim and other indices i, the result is
For summation index j given by `axis` and other indices i, the result is
.. math::
logcumsumexp(x)_{ij} = log \sum_{i=0}^{j}exp(x_{ij})
Note:
The first element of the result is the same of the first element of the input.
**Note**:
The first element of the result is the same as the first element of the input.
Args:
x (Tensor): The input tensor.
Expand Down

0 comments on commit 3b4b8fe

Please sign in to comment.