changes based on comments

This commit is contained in:
saishruthi 2019-05-31 20:13:56 -07:00
parent b6f66bf803
commit 31b70ecb49
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,8 @@ op {
description: << END
Given an input tensor, this function computes cosine of every
element in the tensor. Input range is `(-inf, inf)` and
output range is `[-1,1]`.
output range is `[-1,1]`. If input lies outside the boundary, `nan`
is returned.
```python
x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")])

View File

@ -4,7 +4,8 @@ op {
description: << END
Given an input tensor, this function computes tangent of every
element in the tensor. Input range is `(-inf, inf)` and
output range is `(-inf, inf)`.
output range is `(-inf, inf)`. If input lies outside the boundary, `nan`
is returned.
```python
x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 200, 10000, float("inf")])