Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ sort2
Method
sort2
ot/backend.py:2432–2433 ·
view source on GitHub ↗
(self, a, axis=-1)
Source
from the content-addressed store, hash-verified
2430
return
torch.prod(a, dim=axis)
2431
2432
def
sort2(self, a, axis=-1):
2433
return
torch.sort(a, axis)
2434
2435
def
qr(self, a):
2436
return
torch.linalg.qr(a)
Callers
nothing calls this directly
Calls
1
sort
Method · 0.45
Tested by
no test coverage detected