diff options
Diffstat (limited to 'numpy/_array_api/_set_functions.py')
-rw-r--r-- | numpy/_array_api/_set_functions.py | 3 |
1 files changed, 3 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..b6198765a --- /dev/null +++ b/numpy/_array_api/_set_functions.py @@ -0,0 +1,3 @@ +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) |