Neg - 1 vs 6#

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. Neg1 → Neg6 +7 -6
Neg1 → Neg6 RENAMED
@@ -1 +1 @@
1
1
  Neg takes one input data (Tensor<T>) and produces one output data
2
2
  (Tensor<T>) where each element flipped sign, y = -x, is applied to
3
3
  the tensor elementwise.
4
+
5
+ **Attributes**
6
+
7
+ * **consumed_inputs**:
8
+ legacy optimization attribute.
4
9
  **Inputs**
5
10
  * **X** (heterogeneous) - **T**:
6
11
  Input tensor
7
12
  **Outputs**
8
13
  * **Y** (heterogeneous) - **T**:
9
14
  Output tensor
10
15
  **Type Constraints**
11
16
  * **T** in (
12
17
  tensor(double),
13
18
  tensor(float),
14
- tensor(float16),
19
+ tensor(float16)
15
- tensor(int16),
16
- tensor(int32),
17
- tensor(int64),
18
- tensor(int8)
19
20
  ):
20
- Constrain input and output types to signed numeric tensors.? ^^^^^^^^^^^^^^
21
+ Constrain input and output types to float tensors.? ^^^^^