(self, *args, **kwargs)
| 106 | return repr(self._ufunc) |
| 107 | |
| 108 | def __call__(self, *args, **kwargs): |
| 109 | dsks = [arg for arg in args if hasattr(arg, "_elemwise")] |
| 110 | if len(dsks) > 0: |
| 111 | for dsk in dsks: |
| 112 | result = dsk._elemwise(self._ufunc, *args, **kwargs) |
| 113 | if type(result) != type(NotImplemented): |
| 114 | return result |
| 115 | raise TypeError( |
| 116 | f"Parameters of such types are not supported by {self.__name__}" |
| 117 | ) |
| 118 | else: |
| 119 | return self._ufunc(*args, **kwargs) |
| 120 | |
| 121 | @derived_from(np.ufunc) |
| 122 | def outer(self, A, B, **kwargs): |