Skip to content

Update broadcast_arrays to return a tuple instead of a list #2944

Open
vlad-perevezentsev wants to merge 4 commits into
masterfrom
return_tuple_broadcast_arrays
Open

Update broadcast_arrays to return a tuple instead of a list #2944
vlad-perevezentsev wants to merge 4 commits into
masterfrom
return_tuple_broadcast_arrays

Conversation

@vlad-perevezentsev

Copy link
Copy Markdown
Contributor

This PR updates dpnp.broadcast_arrays() and dpnp.tensor.broadcast_arrays() to return a tuple instead of a list aligning their behavior with the Python Array API 2025.12 and NumPy

  • X] Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/pull/2944/index.html

@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 78.251% (+0.003%) from 78.248% — return_tuple_broadcast_arrays into master

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev0=py313h509198e_70 ran successfully.
Passed: 1355
Failed: 5
Skipped: 16

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.

2 participants