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

Method unique

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

Source from the content-addressed store, hash-verified

2661 return cp.diag(a, k)
2662
2663 def unique(self, a, return_inverse=False):
2664 return cp.unique(a, return_inverse=return_inverse)
2665
2666 def logsumexp(self, a, axis=None):
2667 # Taken from

Callers

nothing calls this directly

Calls 1

uniqueMethod · 0.45

Tested by

no test coverage detected