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