Re: [Numpy-discussion] Adding to the non-dispatched implementation of NumPy methods

2019-04-29 Thread Stephan Hoyer
On Mon, Apr 29, 2019 at 5:49 AM Marten van Kerkwijk < m.h.vankerkw...@gmail.com> wrote: > The uses that I've seen so far (in CuPy and JAX), involve a handful of >> functions that are directly re-exported from NumPy, e.g., >> jax.numpy.array_repr is the exact same object as numpy.array_repr: >> >>

Re: [Numpy-discussion] Adding to the non-dispatched implementation of NumPy methods

2019-04-29 Thread Marten van Kerkwijk
On Sun, Apr 28, 2019 at 9:20 PM Stephan Hoyer wrote: > On Sun, Apr 28, 2019 at 8:42 AM Marten van Kerkwijk < > m.h.vankerkw...@gmail.com> wrote: > >> In summary, I think the guarantees should be as follows: >> 1.If you call np.function and >> - do not define __array_function__, changes happen o