aesara.tensor.argsort

Contents

aesara.tensor.argsort#

aesara.tensor.argsort(a, axis=-1, kind='quicksort', order=None)[source]#

Returns the indices that would sort an array.

Perform an indirect sort along the given axis using the algorithm specified by the kind keyword. It returns an array of indices of the same shape as a that index data along the given axis in sorted order.