Squeeze - 1 vs 11#
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.
- Squeeze1 → Squeeze11 +1 -3
Squeeze1 → Squeeze11
RENAMED
@@ -1 +1 @@
|
|
1
1
|
Remove single-dimensional entries from the shape of a tensor.
|
2
2
|
Takes a parameter 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
|
**Attributes**
|
6
6
|
* **axes**:
|
7
|
-
List of integers
|
7
|
+
List of non-negative integers, indicate the dimensions to squeeze.
|
8
|
-
value means counting dimensions from the back. Accepted range is
|
9
|
-
[-r, r-1] where r = rank(data).
|
10
8
|
**Inputs**
|
11
9
|
* **data** (heterogeneous) - **T**:
|
12
10
|
Tensors with at least max(dims) dimensions.
|
13
11
|
**Outputs**
|
14
12
|
* **squeezed** (heterogeneous) - **T**:
|
15
13
|
Reshaped tensor with same data as input.
|
16
14
|
**Type Constraints**
|
17
15
|
* **T** in (
|
18
16
|
tensor(bool),
|
19
17
|
tensor(complex128),
|
20
18
|
tensor(complex64),
|
21
19
|
tensor(double),
|
22
20
|
tensor(float),
|
23
21
|
tensor(float16),
|
24
22
|
tensor(int16),
|
25
23
|
tensor(int32),
|
26
24
|
tensor(int64),
|
27
25
|
tensor(int8),
|
28
26
|
tensor(string),
|
29
27
|
tensor(uint16),
|
30
28
|
tensor(uint32),
|
31
29
|
tensor(uint64),
|
32
30
|
tensor(uint8)
|
33
31
|
):
|
34
32
|
Constrain input and output types to all tensor types.
|