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

Method argmax

ot/backend.py:2149–2150  ·  view source on GitHub ↗
(self, a, axis=None)

Source from the content-addressed store, hash-verified

2147 return pad(a, how_pad, value=value)
2148
2149 def argmax(self, a, axis=None):
2150 return torch.argmax(a, dim=axis)
2151
2152 def argmin(self, a, axis=None):
2153 return torch.argmin(a, dim=axis)

Callers

nothing calls this directly

Calls 1

argmaxMethod · 0.45

Tested by

no test coverage detected