MCPcopy Create free account
hub / github.com/dask/dask / __array__

Method __array__

dask/array/tests/test_dispatch.py:56–57  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

54 self.arr = arr
55
56 def __array__(self, *args, **kwargs):
57 return np.asarray(self.arr, *args, **kwargs)
58
59 def __array_function__(self, f, t, arrs, kw):
60 if not all(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected