Skip to content

Conversation

kgryte
Copy link
Contributor

@kgryte kgryte commented Jan 23, 2025

This PR:

  • closes RFC: clarify broadcast_to semantics #823 by clarifying that (a) broadcast compatibility only applies to x being capable of being broadcast to a specified shape and (b) the returned array must have the specified shape.

Questions

  1. Is this worth backporting to prior revisions?

@kgryte kgryte added the topic: Broadcasting Array broadcasting. label Jan 23, 2025
@kgryte kgryte added this to the v2024 milestone Jan 23, 2025
@kgryte
Copy link
Contributor Author

kgryte commented Feb 6, 2025

As is a minor clarification and has been discussed on the referenced issue, I'll go ahead and merge. If we need to backport, we can do so in a follow-up PR.

@kgryte kgryte merged commit 4f26831 into data-apis:main Feb 6, 2025
3 checks passed
@kgryte kgryte deleted the fix/clarify-broadcast-to branch February 6, 2025 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: Broadcasting Array broadcasting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFC: clarify broadcast_to semantics

2 participants