Tanh - 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.
- Tanh1 → Tanh6 +6 -1
Tanh1 → Tanh6
RENAMED
@@ -1 +1 @@
|
|
1
1
|
Calculates the hyperbolic tangent of the given input tensor element-wise.
|
2
|
+
|
3
|
+
**Attributes**
|
4
|
+
|
5
|
+
* **consumed_inputs**:
|
6
|
+
legacy optimization attribute.
|
2
7
|
**Inputs**
|
3
8
|
* **input** (heterogeneous) - **T**:
|
4
|
-
|
9
|
+
1-D input tensor
|
5
10
|
**Outputs**
|
6
11
|
* **output** (heterogeneous) - **T**:
|
7
12
|
The hyperbolic tangent values of the input tensor computed element-
|
8
13
|
wise
|
9
14
|
**Type Constraints**
|
10
15
|
* **T** in (
|
11
16
|
tensor(double),
|
12
17
|
tensor(float),
|
13
18
|
tensor(float16)
|
14
19
|
):
|
15
20
|
Constrain input and output types to float tensors.
|