Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ argsort
Method
argsort
ot/backend.py:2109–2111 ·
view source on GitHub ↗
(self, a, axis=-1)
Source
from the content-addressed store, hash-verified
2107
return
sorted0
2108
2109
def
argsort(self, a, axis=-1):
2110
sorted, indices = torch.sort(a, dim=axis)
2111
return
indices
2112
2113
def
searchsorted(self, a, v, side=
"left"
):
2114
right = side !=
"left"
Callers
nothing calls this directly
Calls
1
sort
Method · 0.45
Tested by
no test coverage detected