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

2021-04-18 Thread Stephan Hoyer
On Sun, Apr 18, 2021 at 9:11 AM Ryan Soklaski wrote: > MyGrad is not meant to "compete" with the likes of PyTorch and JAX, which > are fantastically-fast and powerful autodiff libraries. Rather, its > emphasis is on being lightweight and seamless to use in NumPy-centric > workflows. > Thanks for

Re: [Numpy-discussion] two questions about `choose`

2021-04-18 Thread Kevin Sheppard
Oh. I answered thinking about choice and not choose. Please ignore both parts. On Sun, Apr 18, 2021, 17:56 Robert Kern wrote: > On Sat, Apr 17, 2021 at 4:28 PM Kevin Sheppard > wrote: > >> 1. I suppose it only uses the (Native int or int64) dtype since each one >> would need a code path to run

Re: [Numpy-discussion] two questions about `choose`

2021-04-18 Thread Robert Kern
On Sat, Apr 17, 2021 at 4:28 PM Kevin Sheppard wrote: > 1. I suppose it only uses the (Native int or int64) dtype since each one > would need a code path to run quickly. > > 2. I would describe this a a bug. I think sequences are converted to > arrays and in this case the conversion is not return

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

2021-04-18 Thread Ryan Soklaski
All, I am excited to announce the release of MyGrad 2.0. MyGrad's primary goal is to make automatic differentiation accessible and easy to use across the NumPy ecosystem (see [1] for more detailed comments). Source: https://github.com/rsokl/MyGrad Docs: https://mygrad.readthedocs.io/en/latest/

Re: [Numpy-discussion] two questions about `choose`

2021-04-18 Thread Alan G. Isaac
I think you are saying that this current behavior of `choose` should be considered a bug. I hope not, because as illustrated, it is useful. How would you propose to efficiently do the same substitutions? On 4/17/2021 4:27 PM, Kevin Sheppard wrote: 2. I would describe this a a bug. I think sequen

[Numpy-discussion] GSoD'21 Ideas Disussion

2021-04-18 Thread Mukulika Pahari
Hello everyone! I am Mukulika Pahari, a Computer Engineering student from India. I wanted to implement the following ideas for Google Summer of Docs 2021 if given the opportunity. I have referred to both- the GSoD proposal

[Numpy-discussion] Inaccurate documentation of the random c-api

2021-04-18 Thread zoj613
Hi All, https://numpy.org/devdocs/reference/random/c-api.html has an inaccurate description of the API that goes as follows: "/zig in the name are based on a ziggurat lookup algorithm is used instead of calculating the log, which is significantly faster. The non-ziggurat variants are used in corne