Squeeze - 1 vs 11

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