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

Method power

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

Source from the content-addressed store, hash-verified

3019 return tnp.sqrt(a)
3020
3021 def power(self, a, exponents):
3022 return tnp.power(a, exponents)
3023
3024 def norm(self, a, axis=None, keepdims=False):
3025 return tf.math.reduce_euclidean_norm(a, axis=axis, keepdims=keepdims)

Callers

nothing calls this directly

Calls 1

powerMethod · 0.45

Tested by

no test coverage detected