Skip to content

Implement co-broadcasting in operator overloading - #898

Merged
bluss merged 16 commits into
rust-ndarray:masterfrom
SparrowLii:co_broadcast
Mar 12, 2021
Merged

bluss merged 16 commits into
rust-ndarray:masterfrom
SparrowLii:co_broadcast

Conversation

@SparrowLii

@SparrowLii SparrowLii commented Jan 20, 2021 •

Copy link
Copy Markdown
Contributor

This PR did the following to implement co_broadcasting in operator overloading

  1. Implement DimMax trait, which uses the same broadcast mechanism as Numpy, for all Dimension so as to get the returned array type in operator overloading.
  2. Use map_collect() and map_collect_owned() in operator overloading to avoid redundant array traversal.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants