array-api
array-api copied to clipboard
feat: add `broadcast_shapes` to the specification
This PR
- resolves https://github.com/data-apis/array-api/issues/893 by adding support for
broadcast_shapesto the specification. - follows NumPy et al in supporting an arbitrary number of input shapes to be broadcasted.
- specifies that only shapes which contain integers are explicitly supported. For shapes containing sentinel values such as
Nonefor a dimension of unknown size, behavior is left unspecified and thus implementation-defined.
the array-api-extra docs just say
https://data-apis.org/array-api-extra/generated/array_api_extra.broadcast_shapes.html