changes based on comments
This commit is contained in:
parent
b3d8f3f6f0
commit
536e22cf6e
@ -3,9 +3,10 @@ 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, infinity). 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
|
||||||
tensor `x` is [-2, -0.5, 1, 1.2, 200, 10000]
|
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]
|
tf.math.acosh(x) ==> [nan nan 0. 0.62236255 5.9914584 9.903487 inf]
|
||||||
|
```
|
||||||
END
|
END
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user