Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix doc for sort and argsort (#15317)
Browse files Browse the repository at this point in the history
  • Loading branch information
suyz526 authored and aaronmarkham committed Jul 8, 2019
1 parent 091fece commit 1ae73de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator/tensor/ordering_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.],
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1ae73de

Please sign in to comment.