Neg - 1 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.

Files changed (1) hide show
  1. Neg1 → Neg13 +2 -8
Neg1 → 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
-
5
- ### Attributes
6
-
7
- * **consumed_inputs - INTS** :
8
-
9
- legacy optimization attribute.
10
4
  ### Inputs
11
5
  - **X** (heterogeneous) - **T**:
12
6
  Input tensor
13
7
  ### Outputs
14
8
  - **Y** (heterogeneous) - **T**:
15
9
  Output tensor
16
10
  ### Type Constraints
17
- * **T** in ( tensor(double), tensor(float), tensor(float16) ):
11
+ * **T** in ( tensor(bfloat16), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8) ):
18
- Constrain input and output types to float tensors.? ^^^^^
12
+ Constrain input and output types to signed numeric tensors.? ^^^^^^^^^^^^^^