提交 2ea2bc86 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Fixed docstring of sort() about axis=None

上级 be23ebcf
......@@ -5840,7 +5840,7 @@ def sort(a, axis=-1, kind='quicksort', order=None):
Tensor to be sorted
axis : Tensor
Axis along which to sort. None is not still supported.
Axis along which to sort. If None, the array is flattened before sorting.
kind : {'quicksort', 'mergesort', 'heapsort'}, optional
......@@ -5848,7 +5848,7 @@ def sort(a, axis=-1, kind='quicksort', order=None):
order : list, optional
When a is a structured array, this argument specifies which
When `a` is a structured array, this argument specifies which
fields to compare first, second, and so on. This list does not
need to include all of the fields.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论