Reshape - 5 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.

Files changed (1) hide show
  1. Reshape5 → Reshape13 +0 -1
Reshape5 → Reshape13 RENAMED
@@ -1 +1 @@
1
1
  Reshape the input tensor similar to numpy.reshape.
2
2
  First input is the data tensor, second input is a shape tensor which specifies the output shape. It outputs the reshaped tensor.
3
3
  At most one dimension of the new shape can be -1. In this case, the value is
4
4
  inferred from the size of the tensor and the remaining dimensions. A dimension
5
5
  could also be 0, in which case the actual dimension value is unchanged (i.e. taken
6
6
  from the input tensor). Shape (second input) could be an empty shape, which means converting to a scalar.
7
7
  The input tensor's shape and the output tensor's shape are required to have the same number of elements.
8
8
  **Inputs**
9
9
  * **data** (heterogeneous) - **T**:
10
10
  An input tensor.
11
11
  * **shape** (heterogeneous) - **tensor(int64)**:
12
12
  Specified shape for output.
13
13
  **Outputs**
14
14
  * **reshaped** (heterogeneous) - **T**:
15
15
  Reshaped data.
16
16
  **Type Constraints**
17
17
  * **T** in (
18
- tensor(bfloat16),
19
18
  tensor(bool),
20
19
  tensor(complex128),
21
20
  tensor(complex64),
22
21
  tensor(double),
23
22
  tensor(float),
24
23
  tensor(float16),
25
24
  tensor(int16),
26
25
  tensor(int32),
27
26
  tensor(int64),
28
27
  tensor(int8),
29
28
  tensor(string),
30
29
  tensor(uint16),
31
30
  tensor(uint32),
32
31
  tensor(uint64),
33
32
  tensor(uint8)
34
33
  ):
35
34
  Constrain input and output types to all tensor types.