Neg - 6 vs 13¶
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.
- Neg6 → Neg13 +1 -1
Neg6 → Neg13
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
4
|
### Inputs
|
5
5
|
- **X** (heterogeneous) - **T**:
|
6
6
|
Input tensor
|
7
7
|
### Outputs
|
8
8
|
- **Y** (heterogeneous) - **T**:
|
9
9
|
Output tensor
|
10
10
|
### Type Constraints
|
11
|
-
* **T** in ( tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8) ):
|
11
|
+
* **T** in ( tensor(bfloat16), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8) ):
|
12
12
|
Constrain input and output types to signed numeric tensors.
|