Constant - 1 vs 11#

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. Constant1 → Constant11 +4 -19
Constant1 → Constant11 RENAMED
@@ -1 +1 @@
1
+ A constant tensor.
1
- A constant tensor. Exactly one of the two attributes, either value or sparse_value,
2
- 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
5
  **Outputs**
9
6
  * **output** (heterogeneous) - **T**:
10
7
  Output tensor containing the same value of the provided tensor.
11
8
  **Type Constraints**
12
9
  * **T** in (
13
- tensor(bool),
14
- tensor(complex128),
15
- tensor(complex64),
16
10
  tensor(double),
17
11
  tensor(float),
18
- tensor(float16),
12
+ tensor(float16)
19
- tensor(int16),
20
- tensor(int32),
21
- tensor(int64),
22
- tensor(int8),
23
- tensor(string),
24
- tensor(uint16),
25
- tensor(uint32),
26
- tensor(uint64),
27
- tensor(uint8)
28
13
  ):
29
- Constrain input and output types to all tensor types.? ^^ -----
14
+ Constrain input and output types to float tensors.? +++ ^