Squeeze - 11 vs 13¶
- Squeeze11 → Squeeze13 +8 -8
Squeeze11 → Squeeze13
RENAMED
@@ -1 +1 @@
|
|
1
1
|
Remove single-dimensional entries from the shape of a tensor.
|
2
|
-
Takes
|
2
|
+
Takes an input axes with a list of axes to squeeze.
|
3
3
|
If axes is not provided, all the single dimensions will be removed from
|
4
4
|
the shape. If an axis is selected with shape entry not equal to one, an error is raised.
|
5
|
-
**
|
5
|
+
**Inputs**
|
6
|
+
Between 1 and 2 inputs.
|
7
|
+
|
6
|
-
* **
|
8
|
+
* **data** (heterogeneous) - **T**:
|
9
|
+
Tensors with at least max(dims) dimensions.
|
10
|
+
* **axes** (optional, heterogeneous) - **tensor(int64)**:
|
7
11
|
List of integers indicating the dimensions to squeeze. Negative
|
8
12
|
value means counting dimensions from the back. Accepted range is
|
9
13
|
[-r, r-1] where r = rank(data).
|
10
|
-
|
11
|
-
**Inputs**
|
12
|
-
|
13
|
-
* **data** (heterogeneous) - **T**:
|
14
|
-
Tensors with at least max(dims) dimensions.
|
15
14
|
**Outputs**
|
16
15
|
* **squeezed** (heterogeneous) - **T**:
|
17
16
|
Reshaped tensor with same data as input.
|
18
17
|
**Type Constraints**
|
19
18
|
* **T** in (
|
19
|
+
tensor(bfloat16),
|
20
20
|
tensor(bool),
|
21
21
|
tensor(complex128),
|
22
22
|
tensor(complex64),
|
23
23
|
tensor(double),
|
24
24
|
tensor(float),
|
25
25
|
tensor(float16),
|
26
26
|
tensor(int16),
|
27
27
|
tensor(int32),
|
28
28
|
tensor(int64),
|
29
29
|
tensor(int8),
|
30
30
|
tensor(string),
|
31
31
|
tensor(uint16),
|
32
32
|
tensor(uint32),
|
33
33
|
tensor(uint64),
|
34
34
|
tensor(uint8)
|
35
35
|
):
|
36
36
|
Constrain input and output types to all tensor types.
|