Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ solve
Method
solve
ot/backend.py:1828–1829 ·
view source on GitHub ↗
(self, a, b)
Source
from the content-addressed store, hash-verified
1826
return
results
1827
1828
def
solve(self, a, b):
1829
return
jnp.linalg.solve(a, b)
1830
1831
def
trace(self, a):
1832
return
jnp.diagonal(a, axis1=-2, axis2=-1).sum(-1)
Callers
nothing calls this directly
Calls
1
solve
Method · 0.45
Tested by
no test coverage detected