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

Method dot

ot/backend.py:422–430  ·  view source on GitHub ↗

r""" Returns the dot product of two tensors. This function follows the api from :any:`numpy.dot` See: https://numpy.org/doc/stable/reference/generated/numpy.dot.html

(self, a, b)

Source from the content-addressed store, hash-verified

420 raise NotImplementedError()
421
422 def dot(self, a, b):
423 r"""
424 Returns the dot product of two tensors.
425
426 This function follows the api from :any:`numpy.dot`
427
428 See: https://numpy.org/doc/stable/reference/generated/numpy.dot.html
429 """
430 raise NotImplementedError()
431
432 def abs(self, a):
433 r"""

Callers 15

test_empty_backendFunction · 0.95
_init_lr_sinkhornFunction · 0.45
_LR_DysktraFunction · 0.45
lowrank_sinkhornFunction · 0.45
euclidean_distancesFunction · 0.45
distFunction · 0.45
funcFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_empty_backendFunction · 0.76
metricFunction · 0.36
test_func_backendsFunction · 0.36
test_dotsFunction · 0.36
getitemFunction · 0.36
test_LazyTensorFunction · 0.36
test_lowrank_LazyTensorFunction · 0.36
vectorizedFunction · 0.36
test_lowrank_sinkhornFunction · 0.36