Skip to content

Commit

Permalink
fix bug in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Courtesy-Xs committed May 9, 2023
1 parent 43167ab commit b09221f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/paddle/tensor/manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -4807,11 +4807,12 @@ def index_put_(x, indices, value, accumulate=False, name=None):
indices (Tuple of Tensor): The tuple of Tensor containing the indices to index.
The data type of ``tensor in indices`` must be int32, int64 or bool
value (Tensor): The tensor used to be assigned to x.
accummulate (Bool): Whether the elements in values are added to x
accummulate (Bool): Whether the elements in values are added to x. Default: False.
name(str, optional): For details, please refer to :ref:`api_guide_Name`. Generally, no setting is required. Default: None.
Returns:
Tensor, same dimention and dtype with x.
Examples:
.. code-block:: python
import paddle
Expand Down

0 comments on commit b09221f

Please sign in to comment.