Skip to content

Commit

Permalink
Update python/paddle/tensor/manipulation.py
Browse files Browse the repository at this point in the history
Co-authored-by: ooo oo <106524776+ooooo-create@users.noreply.github.com>
  • Loading branch information
DanGuge and ooooo-create authored Nov 16, 2023
1 parent fb9d2d6 commit 716c294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/tensor/manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5650,7 +5650,7 @@ def diagonal_scatter(x, y, offset=0, axis1=0, axis2=1, name=None):
``y`` should have the same shape as paddle.diagonal(x, offset, axis1, axis2).
Args:
x (Tensor): `x`` is the original Tensor. Must be at least 2-dimensional.
x (Tensor): ``x`` is the original Tensor. Must be at least 2-dimensional.
y (Tensor): ``y`` is the Tensor to embed into ``x``
offset (int, optional): which diagonal to consider. Default: 0 (main diagonal).
axis1 (int, optional): first axis with respect to which to take diagonal. Default: 0.
Expand Down

0 comments on commit 716c294

Please sign in to comment.