array-api icon indicating copy to clipboard operation
array-api copied to clipboard

RFC document, tooling and other content related to the array API standard

Results 221 array-api issues
Sort by recently updated
recently updated
newest added

These functions: - [`__setitem__`](https://data-apis.org/array-api/latest/API_specification/generated/array_api.array.__setitem__.html#setitem) - [`__iadd__`](https://data-apis.org/array-api/latest/API_specification/array_object.html#in-place-operators) and other in-place operators - [`clip`](https://data-apis.org/array-api/latest/API_specification/generated/array_api.clip.html#clip) - [`nextafter`](https://data-apis.org/array-api/latest/API_specification/generated/array_api.nextafter.html#nextafter) Have in common that the output dtype must match the dtype of the first parameter. This...

This pull request adds the specification for the binsparse protocol (closes #840). @willow-ahrens @BenBrock from the binsparse team. @mtsokol @ivirshup for `scipy.sparse` @leofang for `cupyx.sparse` @pearu for `torch.sparse` @jakevdp for...

API extension
topic: DLPack

With the array API standard development having stabilized after several releases, with more and more different projects either having implemented the standard or working on adopting its usage, and with...

Community

It would be useful for the specification to state the expected result of an empty norm (related to the discussion in https://github.com/numpy/numpy/pull/28343) In https://github.com/data-apis/array-api/issues/232, it was decided that `sum` and...

RFC

[EDIT] this issue is about the lack of `xp.put` or equivalent `__setitem_` semantics for integar array indices. Read comments below. [original post] The current situation when an index is an...

RFC

This PR: - Addresses a comment made in https://github.com/data-apis/array-api/issues/841#issuecomment-2392032433 and should close https://github.com/data-apis/array-api/issues/859 by adding data type "kind" support in `astype`.

API change
Needs Review
status: Blocked

According to #97 a library can decide to either return a `tuple[int | None, ...]` or a tuple-like object that: > The returned value should be a tuple; however, where...

topic: Lazy/Graph

I would like to compute $f(x) := xi$, $g(y) := y - 1$ where $i$ is an imaginary number, $x$ is `float` and $y$ is `uint`, using array-api. However, I...

topic: Complex Data Types
topic: Type Promotion

aims to address https://github.com/data-apis/array-api/issues/397, https://github.com/data-apis/array-api/issues/796 typeset RFC 2119 magic keywords (should/must/must not) in lowercase italics; the preference in gh-397 seems to avoid ALLCAPS. No specific preference for italics either, can...

Document Formatting
Needs Review

https://github.com/data-apis/array-api/blob/6d205d72dde3db8fc8668ad6aef5d003cc8ef80f/src/array_api_stubs/_draft/_types.py#L60-L79 ↓ ```python class finfo_object(Protocol[dtype]): """Dataclass returned by `finfo`.""" bits: int eps: float max: float min: float smallest_normal: float dtype: dtype class iinfo_object(Protocol[dtype]): """Dataclass returned by `iinfo`.""" bits: int max:...

topic: Static Typing