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.

Files changed (1) hide show
  1. Squeeze1 → Squeeze11 +1 -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 - INTS** :
7
- List of non-negative integers, indicate the dimensions to squeeze.
7
+ List of integers indicating the dimensions to squeeze. Negative value means counting dimensions from the back. Accepted range is [-r, r-1] where r = rank(data).
8
8
  ### Inputs
9
9
  - **data** (heterogeneous) - **T**:
10
10
  Tensors with at least max(dims) dimensions.
11
11
  ### Outputs
12
12
  - **squeezed** (heterogeneous) - **T**:
13
13
  Reshaped tensor with same data as input.
14
14
  ### Type Constraints
15
15
  * **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) ):
16
16
  Constrain input and output types to all tensor types.