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

Method clip

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

Source from the content-addressed store, hash-verified

1661 return jnp.outer(a, b)
1662
1663 def clip(self, a, a_min, a_max):
1664 return jnp.clip(a, a_min, a_max)
1665
1666 def repeat(self, a, repeats, axis=None):
1667 return jnp.repeat(a, repeats, axis)

Callers

nothing calls this directly

Calls 1

clipMethod · 0.45

Tested by

no test coverage detected