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

Method __array_ufunc__

dask/array/tests/test_dispatch.py:123–125  ·  view source on GitHub ↗
(self, ufunc, method, *inputs, **kwargs)

Source from the content-addressed store, hash-verified

121 yield arg
122
123 def __array_ufunc__(self, ufunc, method, *inputs, **kwargs):
124 inputs = tuple(self._downcast_args(inputs))
125 return type(self)(getattr(ufunc, method)(*inputs, **kwargs), **self.attrs)
126
127 def __array_function__(self, func, types, args, kwargs):
128 args = tuple(self._downcast_args(args))

Callers 1

test_matmul_array_ufuncFunction · 0.45

Calls 1

_downcast_argsMethod · 0.95

Tested by

no test coverage detected