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

Method __init__

dask/array/ufunc.py:33–39  ·  view source on GitHub ↗
(self, func, nin, nout)

Source from the content-addressed store, hash-verified

31 """A serializable `frompyfunc` object"""
32
33 def __init__(self, func, nin, nout):
34 self._ufunc = np.frompyfunc(func, nin, nout)
35 self._func = func
36 self.nin = nin
37 self.nout = nout
38 self._name = funcname(func)
39 self.__name__ = f"frompyfunc-{self._name}"
40
41 def __repr__(self):
42 return f"da.frompyfunc<{self._name}, {self.nin}, {self.nout}>"

Callers

nothing calls this directly

Calls 1

funcnameFunction · 0.90

Tested by

no test coverage detected