Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PythonOT/POT
/ clip
Method
clip
ot/backend.py:2620–2621 ·
view source on GitHub ↗
(self, a, a_min, a_max)
Source
from the content-addressed store, hash-verified
2618
return
cp.outer(a, b)
2619
2620
def
clip(self, a, a_min, a_max):
2621
return
cp.clip(a, a_min, a_max)
2622
2623
def
repeat(self, a, repeats, axis=None):
2624
return
cp.repeat(a, repeats, axis)
Callers
nothing calls this directly
Calls
1
clip
Method · 0.45
Tested by
no test coverage detected