Constant - 11 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. Constant11 → Constant13 +2 -17
Constant11 → Constant13 RENAMED
@@ -1 +1 @@
1
- This operator produces a constant tensor. Exactly one of the provided attributes, either value, sparse_value,
1
+ A constant tensor. Exactly one of the two attributes, either value or sparse_value,
2
- or value_* must be specified.
2
+ must be specified.
3
3
  **Attributes**
4
4
  * **sparse_value**:
5
5
  The value for the elements of the output tensor in sparse format.
6
6
  * **value**:
7
7
  The value for the elements of the output tensor.
8
- * **value_float**:
9
- The value for the sole element for the scalar, float32, output
10
- tensor.
11
- * **value_floats**:
12
- The values for the elements for the 1D, float32, output tensor.
13
- * **value_int**:
14
- The value for the sole element for the scalar, int64, output tensor.
15
- * **value_ints**:
16
- The values for the elements for the 1D, int64, output tensor.
17
- * **value_string**:
18
- The value for the sole element for the scalar, UTF-8 string, output
19
- tensor.
20
- * **value_strings**:
21
- The values for the elements for the 1D, UTF-8 string, output tensor.
22
8
  **Outputs**
23
9
  * **output** (heterogeneous) - **T**:
24
10
  Output tensor containing the same value of the provided tensor.
25
11
  **Type Constraints**
26
12
  * **T** in (
27
- tensor(bfloat16),
28
13
  tensor(bool),
29
14
  tensor(complex128),
30
15
  tensor(complex64),
31
16
  tensor(double),
32
17
  tensor(float),
33
18
  tensor(float16),
34
19
  tensor(int16),
35
20
  tensor(int32),
36
21
  tensor(int64),
37
22
  tensor(int8),
38
23
  tensor(string),
39
24
  tensor(uint16),
40
25
  tensor(uint32),
41
26
  tensor(uint64),
42
27
  tensor(uint8)
43
28
  ):
44
29
  Constrain input and output types to all tensor types.