array-api
array-api copied to clipboard
Update broadcasting examples to include size `0` dimension cases
This PR
- updates the broadcasting specification to include examples demonstrating expected behavior when a dimension has size
0
. Namely, size0
dimensions are not special cased. See gh-404. - fixes indentation and missing line breaks.
Should this be v2021 or v2022? I see that v2021 was already tagged.
This PR is on hold, as during the meeting concerns were raised about actually highlighting this behavior.
Is this PR still relevant @kgryte?
This PR is stale. During consortium discussions, concerns were raised regarding whether we want to highlight broadcasting with size 0 dimensions. Will close, and, if desired, a new PR can be opened.