Skip to content
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

fix: clarify broadcast behavior in broadcast_to #888

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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
1 participant