-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
API extensionAdds new functions or objects to the API.Adds new functions or objects to the API.RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.
Milestone
Description
Prior art
- NumPy - https://numpy.org/doc/stable/reference/generated/numpy.isin.html
- CuPy - https://docs.cupy.dev/en/latest/reference/generated/cupy.isin.html
- Dask - https://docs.dask.org/en/stable/generated/dask.array.isin.html
- JAX - https://jax.readthedocs.io/en/latest/_autosummary/jax.numpy.isin.html
- PyTorch - https://pytorch.org/docs/stable/generated/torch.isin.html
- ndonnx - https://ndonnx.readthedocs.io/en/latest/api/ndonnx.additional.html#ndonnx.additional.isin
- MLX -
isin
is not present yet
Motivation
This function is used in scikit-learn. They've implemented it in terms of the standard, and that implementation could find a home in array-api-extra: data-apis/array-api-extra#34. @asmeurer suggested there that we should also consider adding this to the standard.
Metadata
Metadata
Assignees
Labels
API extensionAdds new functions or objects to the API.Adds new functions or objects to the API.RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.
Type
Projects
Status
Stage 2