Skip to content

Commit

Permalink
update topk api doc (#71046)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunzhongkai588 authored Feb 8, 2025
1 parent b2bfa44 commit 572589f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/tensor/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ def topk(
largest (bool, optional) : largest is a flag, if set to true,
algorithm will sort by descending order, otherwise sort by
ascending order. Default is True.
sorted (bool, optional): controls whether to return the elements in sorted order, default value is True. In gpu device, it always return the sorted value.
sorted (bool, optional): controls whether to return the elements in sorted order, default value is True.
name (str|None, optional): Name for the operation (optional, default is None). For more information, please refer to :ref:`api_guide_Name`.
Returns:
Expand Down

0 comments on commit 572589f

Please sign in to comment.