Skip to content

Commit 52b245b

Browse files
committed
Add signatures for unique
1 parent c214971 commit 52b245b

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

signatures/sets/unique.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# unique
2+
3+
## NumPy
4+
5+
```
6+
numpy.unique(ar, return_index=False, return_inverse=False, return_counts=False, axis=None) → ndarray | tuple[ ndarray, ... ]
7+
```
8+
9+
## CuPy
10+
11+
```
12+
cupy.unique(ar, return_index=False, return_inverse=False, return_counts=False, axis=None) → ndarray | tuple[ ndarray, ... ]
13+
```
14+
15+
## dask.array
16+
17+
```
18+
dask.array.unique(ar, return_index=False, return_inverse=False, return_counts=False) → ndarray | tuple[ ndarray, ... ]
19+
```
20+
21+
## JAX
22+
23+
```
24+
jax.numpy.unique(ar, return_index=False, return_inverse=False, return_counts=False, axis=None) → ndarray | tuple[ ndarray, ... ]
25+
```
26+
27+
## MXNet
28+
29+
```
30+
np.unique(ar, return_index=False, return_inverse=False, return_counts=False, axis=None) → ndarray | tuple[ ndarray, ... ]
31+
```
32+
33+
## PyTorch
34+
35+
```
36+
torch.unique(input, sorted=False, return_inverse=False, return_counts=False, dim=None) → Tensor | tuple[ Tensor, ... ]
37+
```
38+
39+
## TensorFlow
40+
41+
```
42+
tf.unique(x, out_idx=tf.dtypes.int32, name=None) → tuple[ Tensor, ... ]
43+
```

0 commit comments

Comments
 (0)