Re: [Numpy-discussion] new function: broadcast_shapes

2020-10-16 Thread Kevin Sheppard
There is at least one custom implementation in `Generator` IIRC, so a formal API addition sounds like a good idea. Kevin On Thu, Oct 15, 2020 at 8:52 PM Stephan Hoyer wrote: > On Thu, Oct 15, 2020 at 11:46 AM Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> On 10/15/20, Madhulika J

Re: [Numpy-discussion] new function: broadcast_shapes

2020-10-15 Thread Stephan Hoyer
On Thu, Oct 15, 2020 at 11:46 AM Warren Weckesser < warren.weckes...@gmail.com> wrote: > On 10/15/20, Madhulika Jain Chambers wrote: > > Hello all, > > > > I opened a PR to add a function which returns the broadcasted shape from > a > > given set of shapes: > > https://github.com/numpy/numpy/pull

Re: [Numpy-discussion] new function: broadcast_shapes

2020-10-15 Thread Warren Weckesser
On 10/15/20, Madhulika Jain Chambers wrote: > Hello all, > > I opened a PR to add a function which returns the broadcasted shape from a > given set of shapes: > https://github.com/numpy/numpy/pull/17535 > > As this is a proposed change to the API, I wanted to see if there was any > feedback from t

[Numpy-discussion] new function: broadcast_shapes

2020-10-15 Thread Madhulika Jain Chambers
Hello all, I opened a PR to add a function which returns the broadcasted shape from a given set of shapes: https://github.com/numpy/numpy/pull/17535 As this is a proposed change to the API, I wanted to see if there was any feedback from the list. Thanks so much, Madhulika __