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

Method argmin

ot/backend.py:642–650  ·  view source on GitHub ↗

r""" Returns the indices of the minimum values of a tensor along given dimensions. This function follows the api from :any:`numpy.argmin` See: https://numpy.org/doc/stable/reference/generated/numpy.argmin.html

(self, a, axis=None)

Source from the content-addressed store, hash-verified

640 raise NotImplementedError()
641
642 def argmin(self, a, axis=None):
643 r"""
644 Returns the indices of the minimum values of a tensor along given dimensions.
645
646 This function follows the api from :any:`numpy.argmin`
647
648 See: https://numpy.org/doc/stable/reference/generated/numpy.argmin.html
649 """
650 raise NotImplementedError()
651
652 def mean(self, a, axis=None):
653 r"""

Callers 15

test_empty_backendFunction · 0.95
semi_relaxed_pathFunction · 0.45
argminMethod · 0.45
argminMethod · 0.45
argminMethod · 0.45
argminMethod · 0.45
argminMethod · 0.45
transformMethod · 0.45
inverse_transformMethod · 0.45
transformMethod · 0.45
ot_cost_on_circleFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_empty_backendFunction · 0.76
test_func_backendsFunction · 0.36