Constant - 9 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. Constant9 → Constant11 +2 -5
Constant9 → 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
10
  tensor(bool),
14
11
  tensor(complex128),
15
12
  tensor(complex64),
16
13
  tensor(double),
17
14
  tensor(float),
18
15
  tensor(float16),
19
16
  tensor(int16),
20
17
  tensor(int32),
21
18
  tensor(int64),
22
19
  tensor(int8),
23
20
  tensor(string),
24
21
  tensor(uint16),
25
22
  tensor(uint32),
26
23
  tensor(uint64),
27
24
  tensor(uint8)
28
25
  ):
29
26
  Constrain input and output types to all tensor types.