Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ abs
Method
abs
ot/backend.py:2075–2076 ·
view source on GitHub ↗
(self, a)
Source
from the content-addressed store, hash-verified
2073
return
torch.matmul(a, b)
2074
2075
def
abs(self, a):
2076
return
torch.abs(a)
2077
2078
def
exp(self, a):
2079
return
torch.exp(a)
Callers
1
eliminate_zeros
Method · 0.95
Calls
1
abs
Method · 0.45
Tested by
no test coverage detected