MCPcopy Create free account
hub / github.com/PythonOT/POT / norm

Method norm

ot/backend.py:1217–1218  ·  view source on GitHub ↗
(self, a, axis=None, keepdims=False)

Source from the content-addressed store, hash-verified

1215 return np.power(a, exponents)
1216
1217 def norm(self, a, axis=None, keepdims=False):
1218 return np.linalg.norm(a, axis=axis, keepdims=keepdims)
1219
1220 def any(self, a):
1221 return np.any(a)

Callers

nothing calls this directly

Calls 1

normMethod · 0.45

Tested by

no test coverage detected