MCPcopy Index your code
hub / github.com/dask/dask / outer

Function outer

dask/array/routines.py:479–485  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

477
478@derived_from(np)
479def outer(a, b):
480 a = a.flatten()
481 b = b.flatten()
482
483 dtype = np.outer(a.dtype.type(), b.dtype.type()).dtype
484
485 return blockwise(np.outer, "ij", a, "i", b, "j", dtype=dtype)
486
487
488def _inner_apply_along_axis(arr, func1d, func1d_axis, func1d_args, func1d_kwargs):

Callers

nothing calls this directly

Calls 3

flattenMethod · 0.80
blockwiseFunction · 0.70
outerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…