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

Method clip

ot/backend.py:1255–1256  ·  view source on GitHub ↗
(self, a, a_min, a_max)

Source from the content-addressed store, hash-verified

1253 return np.outer(a, b)
1254
1255 def clip(self, a, a_min, a_max):
1256 return np.clip(a, a_min, a_max)
1257
1258 def repeat(self, a, repeats, axis=None):
1259 return np.repeat(a, repeats, axis)

Callers

nothing calls this directly

Calls 1

clipMethod · 0.45

Tested by

no test coverage detected