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

Method min

ot/backend.py:383–391  ·  view source on GitHub ↗

r""" Returns the maximum of an array or maximum along given dimensions. This function follows the api from :any:`numpy.amin` See: https://numpy.org/doc/stable/reference/generated/numpy.amin.html

(self, a, axis=None, keepdims=False)

Source from the content-addressed store, hash-verified

381 raise NotImplementedError()
382
383 def min(self, a, axis=None, keepdims=False):
384 r"""
385 Returns the maximum of an array or maximum along given dimensions.
386
387 This function follows the api from :any:`numpy.amin`
388
389 See: https://numpy.org/doc/stable/reference/generated/numpy.amin.html
390 """
391 raise NotImplementedError()
392
393 def maximum(self, a, b):
394 r"""

Callers 15

test_empty_backendFunction · 0.95
_init_lr_sinkhornFunction · 0.45
lp_solverFunction · 0.45
label_normalizationFunction · 0.45
minMethod · 0.45
minMethod · 0.45
minMethod · 0.45
minimumMethod · 0.45
minMethod · 0.45
minMethod · 0.45
c_transform_entropicFunction · 0.45
rescale_for_imshow_plotFunction · 0.45

Calls

no outgoing calls

Tested by 4

test_empty_backendFunction · 0.76
test_func_backendsFunction · 0.36
test_kl_divFunction · 0.36