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

Method power

ot/backend.py:1627–1628  ·  view source on GitHub ↗
(self, a, exponents)

Source from the content-addressed store, hash-verified

1625 return jnp.sqrt(a)
1626
1627 def power(self, a, exponents):
1628 return jnp.power(a, exponents)
1629
1630 def norm(self, a, axis=None, keepdims=False):
1631 return jnp.linalg.norm(a, axis=axis, keepdims=keepdims)

Callers

nothing calls this directly

Calls 1

powerMethod · 0.45

Tested by

no test coverage detected