changes based on comments
This commit is contained in:
parent
536e22cf6e
commit
2ddc71d737
@ -3,7 +3,8 @@ op {
|
|||||||
summary: "Computes inverse hyperbolic cosine of x element-wise."
|
summary: "Computes inverse hyperbolic cosine of x element-wise."
|
||||||
description: <<END
|
description: <<END
|
||||||
Given an input tensor, the function computes inverse hyperbolic cosine of every element.
|
Given an input tensor, the function computes inverse hyperbolic cosine of every element.
|
||||||
Input range is `[1, inf)`. It returns `nan` if the input lies outside the range.
|
Input range is `[1, inf]`. It returns `nan` if the input lies outside the range.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
x = tf.constant([-2, -0.5, 1, 1.2, 200, 10000, float("inf")])
|
x = tf.constant([-2, -0.5, 1, 1.2, 200, 10000, float("inf")])
|
||||||
tf.math.acosh(x) ==> [nan nan 0. 0.62236255 5.9914584 9.903487 inf]
|
tf.math.acosh(x) ==> [nan nan 0. 0.62236255 5.9914584 9.903487 inf]
|
||||||
|
Loading…
Reference in New Issue
Block a user