MCPcopy 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_zerosMethod · 0.95

Calls 1

absMethod · 0.45

Tested by

no test coverage detected