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