Skip to content

Commit

Permalink
add param name
Browse files Browse the repository at this point in the history
  • Loading branch information
NKNaN committed Dec 16, 2024
1 parent 34275d6 commit 50073f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/paddle/tensor/creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3383,7 +3383,10 @@ def set_(

@inplace_apis_in_dygraph_only
def resize_(
x: paddle.Tensor, shape: Sequence[int], fill_zero: bool = False
x: paddle.Tensor,
shape: Sequence[int],
fill_zero: bool = False,
name: str | None = None,
) -> paddle.Tensor:
"""
Resize ``x`` with specified ``shape``.
Expand Down

0 comments on commit 50073f6

Please sign in to comment.