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 +9 -4
Constant1 → Constant11 RENAMED
@@ -1 +1 @@
1
+ A constant tensor. Exactly one of the two attributes, either value or sparse_value,
1
- A constant tensor.
2
+ must be specified.
2
3
  ### Attributes
4
+ * **sparse_value - SPARSE_TENSOR** :
5
+
6
+ The value for the elements of the output tensor in sparse format.
7
+
3
- * **value - TENSOR** (required) :
8
+ * **value - TENSOR** :
4
9
  The value for the elements of the output tensor.
5
10
  ### Outputs
6
11
  - **output** (heterogeneous) - **T**:
7
12
  Output tensor containing the same value of the provided tensor.
8
13
  ### Type Constraints
9
- * **T** in ( tensor(double), tensor(float), tensor(float16) ):
14
+ * **T** in ( tensor(bool), tensor(complex128), tensor(complex64), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(string), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8) ):
10
- Constrain input and output types to float tensors.? ^ ^^^
15
+ Constrain input and output types to all tensor types.? ^ ^ +++++