On Wed, Sep 25, 2024 at 1:11 AM Seth via Boost
On Tue, Sep 24, 2024, at 9:09 PM, Artyom Beilis via Boost wrote:
But, you making numpy-like library... otherwise you wouldn't be Anyway there are other issues - as an example I was talking about automatic broadcast adding of shapes (5,1) and (2,5,10) that would normally boradcast automatically to (2,5,10) Something I'd expected to see in such a library
Aren't you still defining "such a library" as the library that it just is not?
I didn't see any evidence that arithmetic operations - of any kind - are supplied by the library, other than on iterators/indices. In fact, when scanning the docs, I find:
Now I may be misunderstanding what you mean by "adding shapes", so maybe you clarify in a way that removes the confusion.
I mean adding tensors/arrays with boradcasting of dimensions as I pointed before (like in np) a = np.zeros((5,1)) b = np.zeros((2,5,10)) c=a+b How do you run it (even with per item Op)? Artyom