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