You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by aa...@apache.org on 2019/07/08 18:31:16 UTC
[incubator-mxnet] branch master updated: fix doc for sort and
argsort (#15317)
This is an automated email from the ASF dual-hosted git repository.
aaronmarkham pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 1ae73de fix doc for sort and argsort (#15317)
1ae73de is described below
commit 1ae73de6915119c2d453d1e0fe163aa6b353f30f
Author: suyz526 <35...@users.noreply.github.com>
AuthorDate: Mon Jul 8 20:30:34 2019 +0200
fix doc for sort and argsort (#15317)
---
src/operator/tensor/ordering_op.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/operator/tensor/ordering_op.cc b/src/operator/tensor/ordering_op.cc
index e2f014d..b0ade20 100644
--- a/src/operator/tensor/ordering_op.cc
+++ b/src/operator/tensor/ordering_op.cc
@@ -114,7 +114,7 @@ Examples::
[ 1., 3.]]
// flattens and then sorts
- sort(x) = [ 1., 1., 3., 4.]
+ sort(x, axis=None) = [ 1., 1., 3., 4.]
// sorts along the first axis
sort(x, axis=0) = [[ 1., 1.],
@@ -173,7 +173,7 @@ Examples::
[ 0., 1., 0.]]
// flatten and then sort
- argsort(x) = [ 3., 1., 5., 0., 4., 2.]
+ argsort(x, axis=None) = [ 3., 1., 5., 0., 4., 2.]
)code" ADD_FILELINE)
.set_num_inputs(1)
.set_num_outputs(1)