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

Method outer

ot/backend.py:732–740  ·  view source on GitHub ↗

r""" Computes the outer product between two vectors. This function follows the api from :any:`numpy.outer` See: https://numpy.org/doc/stable/reference/generated/numpy.outer.html

(self, a, b)

Source from the content-addressed store, hash-verified

730 raise NotImplementedError()
731
732 def outer(self, a, b):
733 r"""
734 Computes the outer product between two vectors.
735
736 This function follows the api from :any:`numpy.outer`
737
738 See: https://numpy.org/doc/stable/reference/generated/numpy.outer.html
739 """
740 raise NotImplementedError()
741
742 def reshape(self, a, shape):
743 r"""

Callers 15

test_empty_backendFunction · 0.95
complement_schurFunction · 0.45
outerMethod · 0.45
outerMethod · 0.45
outerMethod · 0.45
outerMethod · 0.45
outerMethod · 0.45
grad_marg_l2Function · 0.45
grad_marg_klFunction · 0.45

Calls

no outgoing calls

Tested by 9

test_empty_backendFunction · 0.76
test_func_backendsFunction · 0.36
fFunction · 0.36
dfFunction · 0.36