Skip to content

Implementation of broadcast_arrays function #798

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

Merged
merged 5 commits into from
Mar 23, 2022

Conversation

vlad-perevezentsev
Copy link
Collaborator

This PR adds broadcast_arrays functions according to Python array API standard for usm_ndarray.

Modified _broadcast_shapes to copy list of immutable shapes into
list of list of mutable shapes only when/if needed.

Avoid cost of creation of temporary list of padding units using
itertoos
Instead added err_msg keyword for assert_array_equal to notify
developer of the argument for which the test has failed
@github-actions
Copy link

@coveralls
Copy link
Collaborator

Coverage Status

Coverage increased (+0.2%) to 82.063% when pulling bb9085b on broadcast_arrays into e96cce3 on master.

@oleksandr-pavlyk oleksandr-pavlyk merged commit f469af2 into master Mar 23, 2022
@oleksandr-pavlyk oleksandr-pavlyk deleted the broadcast_arrays branch March 23, 2022 19:35
@github-actions
Copy link

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

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