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

Function dots

ot/utils.py:495–498  ·  view source on GitHub ↗

r"""dots function for multiple matrix multiply

(*args)

Source from the content-addressed store, hash-verified

493
494
495def dots(*args):
496 r"""dots function for multiple matrix multiply"""
497 nx = get_backend(*args)
498 return reduce(nx.dot, args)
499
500
501def is_all_finite(*args):

Callers 6

bures_distanceFunction · 0.85
lossFunction · 0.85
fFunction · 0.85
emd_laplaceFunction · 0.85
dfFunction · 0.85

Calls 1

get_backendFunction · 0.85

Tested by

no test coverage detected