MCPcopy Create free account
hub / github.com/pytorch/pytorch / sort

Method sort

torch/_numpy/_ndarray.py:406–408  ·  view source on GitHub ↗
(self, axis=-1, kind=None, order=None)

Source from the content-addressed store, hash-verified

404 return _funcs.reshape(self, shape, order=order)
405
406 def sort(self, axis=-1, kind=None, order=None):
407 # ndarray.sort works in-place
408 _funcs.copyto(self, _funcs.sort(self, axis, kind, order))
409
410 def item(self, *args):
411 # Mimic NumPy's implementation with three special cases (no arguments,

Callers 15

_exec_fftFunction · 0.80
meta_fft_c2cFunction · 0.80
register_packageFunction · 0.80
repeatFunction · 0.80
bFunction · 0.80
__init__Method · 0.80
spectral.pyFile · 0.80
runFunction · 0.80
mainFunction · 0.80
runFunction · 0.80
mainFunction · 0.80
get_method_definitionsFunction · 0.80

Calls

no outgoing calls