Shape - 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.
- Shape1 → Shape13 +1 -1
Shape1 → Shape13
RENAMED
@@ -1 +1 @@
|
|
1
1
|
Takes a tensor as input and outputs an 1D int64 tensor containing the shape of the input tensor.
|
2
2
|
### Inputs
|
3
3
|
- **data** (heterogeneous) - **T**:
|
4
4
|
An input tensor.
|
5
5
|
### Outputs
|
6
6
|
- **shape** (heterogeneous) - **T1**:
|
7
7
|
Shape of the input tensor
|
8
8
|
### Type Constraints
|
9
|
-
* **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) ):
|
9
|
+
* **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) ):
|
10
10
|
Input tensor can be of arbitrary type.
|
11
11
|
* **T1** in ( tensor(int64) ):
|
12
12
|
Constrain output to int64 tensor.
|