Sign - 9 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.
- Sign9 → Sign13 +0 -1
Sign9 → Sign13
RENAMED
@@ -1 +1 @@
|
|
1
1
|
Calculate the sign of the given input tensor element-wise.
|
2
2
|
If input > 0, output 1. if input < 0, output -1. if input == 0, output 0.
|
3
3
|
**Inputs**
|
4
4
|
* **input** (heterogeneous) - **T**:
|
5
5
|
Input tensor
|
6
6
|
**Outputs**
|
7
7
|
* **output** (heterogeneous) - **T**:
|
8
8
|
The sign of the input tensor computed element-wise. It has the same
|
9
9
|
shape and type of the input.
|
10
10
|
**Type Constraints**
|
11
11
|
* **T** in (
|
12
|
-
tensor(bfloat16),
|
13
12
|
tensor(double),
|
14
13
|
tensor(float),
|
15
14
|
tensor(float16),
|
16
15
|
tensor(int16),
|
17
16
|
tensor(int32),
|
18
17
|
tensor(int64),
|
19
18
|
tensor(int8),
|
20
19
|
tensor(uint16),
|
21
20
|
tensor(uint32),
|
22
21
|
tensor(uint64),
|
23
22
|
tensor(uint8)
|
24
23
|
):
|
25
24
|
Constrain input and output types to all numeric tensors.
|