Size - 13 vs 21

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. Size13 → Size21 +1 -1
Size13 → Size21 RENAMED
@@ -1 +1 @@
1
1
  Takes a tensor as input and outputs a int64 scalar that equals to the total number of elements of the input tensor.
2
2
  ### Inputs
3
3
  - **data** (heterogeneous) - **T**:
4
4
  An input tensor.
5
5
  ### Outputs
6
6
  - **size** (heterogeneous) - **T1**:
7
7
  Total number of elements of the input tensor
8
8
  ### Type Constraints
9
- * **T** in ( tensor(bfloat16), 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) ):
9
+ * **T** in ( tensor(bfloat16), tensor(bool), tensor(complex128), tensor(complex64), tensor(double), tensor(float), tensor(float16), tensor(float8e4m3fn), tensor(float8e4m3fnuz), tensor(float8e5m2), tensor(float8e5m2fnuz), tensor(int16), tensor(int32), tensor(int4), tensor(int64), tensor(int8), tensor(string), tensor(uint16), tensor(uint32), tensor(uint4), tensor(uint64), tensor(uint8) ):
10
10
  Input tensor can be of arbitrary type.
11
11
  * **T1** in ( tensor(int64) ):
12
12
  Constrain output to int64 tensor, which should be a scalar though.