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

Method min

ot/backend.py:2043–2047  ·  view source on GitHub ↗
(self, a, axis=None, keepdims=False)

Source from the content-addressed store, hash-verified

2041 return torch.max(a, axis, keepdim=keepdims)[0]
2042
2043 def min(self, a, axis=None, keepdims=False):
2044 if axis is None:
2045 return torch.min(a)
2046 else:
2047 return torch.min(a, axis, keepdim=keepdims)[0]
2048
2049 def maximum(self, a, b):
2050 if isinstance(a, int) or isinstance(a, float):

Callers

nothing calls this directly

Calls 1

minMethod · 0.45

Tested by

no test coverage detected