Sign - 9 vs 13¶
- Sign9 → Sign13 +1 -0
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),
|
12
13
|
tensor(double),
|
13
14
|
tensor(float),
|
14
15
|
tensor(float16),
|
15
16
|
tensor(int16),
|
16
17
|
tensor(int32),
|
17
18
|
tensor(int64),
|
18
19
|
tensor(int8),
|
19
20
|
tensor(uint16),
|
20
21
|
tensor(uint32),
|
21
22
|
tensor(uint64),
|
22
23
|
tensor(uint8)
|
23
24
|
):
|
24
25
|
Constrain input and output types to all numeric tensors.
|