Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ pinv
Method
pinv
ot/backend.py:2394–2395 ·
view source on GitHub ↗
(self, a, hermitian=False)
Source
from the content-addressed store, hash-verified
2392
return
torch.linalg.inv(a)
2393
2394
def
pinv(self, a, hermitian=False):
2395
return
torch.linalg.pinv(a, hermitian=hermitian)
2396
2397
def
sqrtm(self, a):
2398
L, V = torch.linalg.eigh(a)
Callers
nothing calls this directly
Calls
1
pinv
Method · 0.45
Tested by
no test coverage detected