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

Method clip

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

Source from the content-addressed store, hash-verified

3052 return tnp.outer(a, b)
3053
3054 def clip(self, a, a_min, a_max):
3055 return tnp.clip(a, a_min, a_max)
3056
3057 def repeat(self, a, repeats, axis=None):
3058 return tnp.repeat(a, repeats, axis)

Callers

nothing calls this directly

Calls 1

clipMethod · 0.45

Tested by

no test coverage detected