Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge of rn/zarr and mpiarray for testing #195

Closed
wants to merge 197 commits into from
Closed

Merge of rn/zarr and mpiarray for testing #195

wants to merge 197 commits into from

Conversation

anjakefala
Copy link
Contributor

- Upon a ufunc being executed, both inputs and outputs are converted to
standard nparrays, and then the nparray ufunc is called
- if no inputs are provided, the results are then converted back to MPIArrays distributed along the axis
of the input arrays
- all inputted MPIArrays *must* be distributed along the same axes

chime-experiment/Pipeline#81
- scalars should just be returned as-is, not converted into MPIArrays
Either all return statements in a function should return an expression,
or none of them should. (inconsistent-return-statements)

This does not make sense because __array_ufunc__ is a general function
which handles various ufuncs, some which return nothing (like when the
method "at" is used.)
If distributed axis is greater than reduction axis, reduce it by 1.
Otherwise, keep it the same.

If keepdims is passed and true, also keep it the same.
@anjakefala anjakefala marked this pull request as draft March 14, 2022 21:18
@anjakefala anjakefala force-pushed the develop branch 2 times, most recently from 7395be2 to ea8c381 Compare March 14, 2022 21:35
@jrs65
Copy link
Contributor

jrs65 commented May 30, 2022

Everything is now merged

@jrs65 jrs65 closed this May 30, 2022
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.

4 participants