diff options
Diffstat (limited to 'numpy/_array_api/set_functions.py')
| -rw-r--r-- | numpy/_array_api/set_functions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/_array_api/set_functions.py b/numpy/_array_api/set_functions.py new file mode 100644 index 000000000..f218f1187 --- /dev/null +++ b/numpy/_array_api/set_functions.py @@ -0,0 +1,5 @@ +def unique(x, /, *, return_counts=False, return_index=False, return_inverse=False, sorted=True): + from .. import unique + return unique(x, return_counts=return_counts, return_index=return_index, return_inverse=return_inverse, sorted=sorted) + +__all__ = ['unique'] |
