8000 Add signatures for `moveaxis` · data-apis/array-api-comparison@ad97bfd · GitHub
[go: up one dir, main page]

Skip to content

Commit ad97bfd

Browse files
committed
Add signatures for moveaxis
1 parent fa01705 commit ad97bfd

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

signatures/manipulation/moveaxis.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# moveaxis
2+
3+
## NumPy
4+
5+
```
6+
numpy.moveaxis(a, source, destination) → ndarray
7+
```
8+
9+
## CuPy
10+
11+
```
12+
cupy.moveaxis(a, source, destination) → ndarray
13+
```
14+
15+
## dask.array
16+
17+
```
18+
dask.array.moveaxis(a, source, destination) → ndarray
19+
```
20+
21+
## JAX
22+
23+
```
24+
jax.numpy.moveaxis(a, source, destination) → ndarray
25+
```
26+
27+
## MXNet
28+
29+
```
30+
np.moveaxis(a, source, destination) → ndarray
31+
```
32+
33+
## PyTorch
34+
35+
```
36+
torch.moveaxis(input, source, destination) → Tensor
37+
```
38+
39+
Alias: `movedim`.
40+
41+
## TensorFlow
42+
43+
```
44+
tf.experimental.numpy.moveaxis(a, source, destination) → Tensor
45+
```

0 commit comments

Comments
 (0)
0