Transpose - 1 vs 13¶
Next section compares an older to a newer version of the same operator after both definition are converted into markdown text. Green means an addition to the newer version, red means a deletion. Anything else is unchanged.
- Transpose1 → Transpose13 +1 -1
Transpose1 → Transpose13
RENAMED
@@ -1 +1 @@
|
|
1
1
|
Transpose the input tensor similar to numpy.transpose. For example, when
|
2
2
|
perm=(1, 0, 2), given an input tensor of shape (1, 2, 3), the output shape
|
3
3
|
will be (2, 1, 3).
|
4
4
|
### Attributes
|
5
5
|
* **perm - INTS** :
|
6
6
|
A list of integers. By default, reverse the dimensions, otherwise permute the axes according to the values given.
|
7
7
|
### Inputs
|
8
8
|
- **data** (heterogeneous) - **T**:
|
9
9
|
An input tensor.
|
10
10
|
### Outputs
|
11
11
|
- **transposed** (heterogeneous) - **T**:
|
12
12
|
Transposed output.
|
13
13
|
### Type Constraints
|
14
|
-
* **T** in ( tensor(bool), tensor(complex128), tensor(complex64), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(string), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8) ):
|
14
|
+
* **T** in ( tensor(bfloat16), tensor(bool), tensor(complex128), tensor(complex64), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(string), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8) ):
|
15
15
|
Constrain input and output types to all tensor types.
|