Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ sort2
Method
sort2
ot/backend.py:3315–3316 ·
view source on GitHub ↗
(self, a, axis=-1)
Source
from the content-addressed store, hash-verified
3313
return
tnp.prod(a, axis=axis)
3314
3315
def
sort2(self, a, axis=-1):
3316
return
self.sort(a, axis), self.argsort(a, axis)
3317
3318
def
qr(self, a):
3319
return
tf.linalg.qr(a)
Callers
nothing calls this directly
Calls
2
sort
Method · 0.95
argsort
Method · 0.95
Tested by
no test coverage detected