array-api
array-api copied to clipboard
RFC document, tooling and other content related to the array API standard
Recently [we found](https://github.com/rapidsai/cudf/issues/9389) that DLPack has this requirement noted in the header: https://github.com/dmlc/dlpack/blob/a02bce20e2dfa0044b9b2ef438e8eaa7b0f95e96/include/dlpack/dlpack.h#L139-L141. Would this be an issue for all adopting libraries? As far as I know, CuPy doesn't do...
The top level URLs https://data-apis.github.io/ and https://data-apis.github.io/array-api/ give 404. It should be straightforward to make these work. The first can be done by adding a `data-apis.github.io` repo on this org...
Following up on review comments at https://github.com/data-apis/array-api/pull/189#discussion_r669299943: there's this bit of boilerplate that is repeated over and over in each API docs section. We should put that in a single...
It would be useful for the test suite to have the function metadata stored in a machine readable format. Currently I am parsing the function signatures from the spec files...
In NumPy (and some other libraries) arrays have a method to [`view`]( https://numpy.org/doc/stable/reference/generated/numpy.ndarray.view.html ) the data as another `dtype`. This is different from `astype` as this taking data that may...
It's midnight so I might be asking silly or trivial questions...Let me know if I am! 😄 I think as we move forward and finalize the standard while downstream libraries...
Due to the limitations of floating point arithmetic, comparing floating point values for bitwise equality is only required in very few situations. In usual sitatuations, for example comparing the output...
This issue gathers all the information of the current APIs in NumPy, CuPy, Dask, JAX, MXNet, pytorch and tensorflow in the FFT module. The main outcome of this issue is...
Follow-up of #102. Currently we state that complex numbers will be supported in the next version (v2) of the standard. However, there is nothing forbidding the complaint libraries from implementing...
The description of [`__abs__`](https://data-apis.github.io/array-api/latest/API_specification/array_object.html#abs-x) and especially [`__add__`](https://data-apis.github.io/array-api/latest/API_specification/array_object.html#add-x1-x2) seems to try to go into great detail about how floating point addition / `abs` works. I'd argue this obscures the intent behind...