[Numpy-discussion] ANN: MyGrad 2.0 - Drop-in autodiff for NumPy

2021-04-18 Thread Ryan Soklaski
ould be extended to bring autodiff to other array-based libraries like CuPy, Sparse, and Dask. For full release notes see [2]. Feedback, critiques, and ideas are welcome! Cheers, Ryan Soklaski [1] MyGrad is not meant to "compete" with the likes of PyTorch and JAX, which are fantastically-f

Re: [Numpy-discussion] ANN: MyGrad 2.0 - Drop-in autodiff for NumPy

2021-04-20 Thread Ryan Soklaski
Hi Stephan, You are correct that MyGrad takes an object-oriented design, rather than a functional one. This enables a more imperative style of workflow [1], which is how many people approach doing data science in notebooks and REPLs. MyGrad feels similar to NumPy and PyTorch in this way. Ultimate

[Numpy-discussion] Re: dtype=(bool) vs dtype=bool

2021-10-19 Thread Ryan Soklaski
As he said: this is not the appropriate use for this mailing list. On Tue, Oct 19, 2021, 10:05 AM wrote: > > You could use `dis.dis` to compare the two expressions and see that they > compile to the same bytecode. > > Do you mean the following: > > In [1]: import numpy as np > In [2]: from dis i