task: add broadcast class implementation - #2901
Merged
Merged
Conversation
jharlow-intel
requested review from
antonwolfy,
ndgrigorian and
vlad-perevezentsev
as code owners
May 6, 2026 19:10
jharlow-intel
force-pushed
the
task/SAT-7028
branch
from
May 6, 2026 19:12
aa39048 to
1b251bf
Compare
jharlow-intel
force-pushed
the
task/SAT-7028
branch
from
May 6, 2026 19:13
1b251bf to
a2f50c3
Compare
jharlow-intel
marked this pull request as draft
May 6, 2026 19:53
Contributor
|
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
antonwolfy
reviewed
May 6, 2026
Contributor
|
Array API standard conformance tests for dpnp=0.21.0dev5=py314ha0e2e8e_14 ran successfully. |
ndgrigorian
reviewed
May 26, 2026
ndgrigorian
reviewed
May 26, 2026
jharlow-intel
marked this pull request as ready for review
August 7, 2026 14:21
Collaborator
antonwolfy
reviewed
Aug 11, 2026
Add an Attributes section to the dpnp.broadcast class docstring so the attributes (shape, size, ndim, numiter, values) render on the class page the way numpy/cupy present them, and drop the now-redundant per-attribute autosummary entries from the reference. Also document broadcast_arrays' variadic parameter as *args for consistency with broadcast/broadcast_shapes.
Use a dedicated autosummary template for the broadcast class that keeps the Attributes rubric visible (instead of the default template which hides member tables), so shape/size/ndim/numiter/values render under an "Attributes" heading like numpy/cupy, rather than the "Variables" label produced by a napoleon Attributes docstring section. Also add "numiter" to the docs spell-check word list.
Prefix the autosummary entries with ~ so the Attributes table lists the attributes by their short names (shape, size, ndim, numiter, values) instead of the fully qualified broadcast.<name> form.
antonwolfy
approved these changes
Aug 19, 2026
antonwolfy
left a comment
Contributor
There was a problem hiding this comment.
Hope it will be rendered properly now.
Thank you @jharlow-intel for the main implementation.
github-actions Bot
added a commit
that referenced
this pull request
Aug 20, 2026
Adds a `broadcast` class implementation 7a52728
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
broadcastclass implementation