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

Method mean

ot/backend.py:652–660  ·  view source on GitHub ↗

r""" Computes the arithmetic mean of a tensor along given dimensions. This function follows the api from :any:`numpy.mean` See: https://numpy.org/doc/stable/reference/generated/numpy.mean.html

(self, a, axis=None)

Source from the content-addressed store, hash-verified

650 raise NotImplementedError()
651
652 def mean(self, a, axis=None):
653 r"""
654 Computes the arithmetic mean of a tensor along given dimensions.
655
656 This function follows the api from :any:`numpy.mean`
657
658 See: https://numpy.org/doc/stable/reference/generated/numpy.mean.html
659 """
660 raise NotImplementedError()
661
662 def median(self, a, axis=None):
663 r"""

Callers 15

test_empty_backendFunction · 0.95
distFunction · 0.45
solveFunction · 0.45
meanMethod · 0.45
meanMethod · 0.45
meanMethod · 0.45
meanMethod · 0.45
meanMethod · 0.45
fdaFunction · 0.45
wdaFunction · 0.45

Calls

no outgoing calls