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

Method unique

ot/backend.py:1707–1708  ·  view source on GitHub ↗
(self, a, return_inverse=False)

Source from the content-addressed store, hash-verified

1705 return jnp.diag(a, k)
1706
1707 def unique(self, a, return_inverse=False):
1708 return jnp.unique(a, return_inverse=return_inverse)
1709
1710 def stack(self, arrays, axis=0):
1711 return jnp.stack(arrays, axis)

Callers

nothing calls this directly

Calls 1

uniqueMethod · 0.45

Tested by

no test coverage detected