aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/math_ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/math_ops.py')
-rw-r--r--tensorflow/python/ops/math_ops.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tensorflow/python/ops/math_ops.py b/tensorflow/python/ops/math_ops.py
index 23af8c0a57..bf46bbdcc2 100644
--- a/tensorflow/python/ops/math_ops.py
+++ b/tensorflow/python/ops/math_ops.py
@@ -45,6 +45,8 @@ See the @{$python/math_ops} guide.
@@expm1
@@log
@@log1p
+@@sinh
+@@cosh
@@ceil
@@floor
@@maximum
@@ -2063,12 +2065,11 @@ def tanh(x, name=None):
Args:
x: A Tensor or SparseTensor with type `float`, `double`, `int32`,
- `complex64`, `int64`, or `qint32`.
+ `complex64`, or `int64`.
name: A name for the operation (optional).
Returns:
- A Tensor or SparseTensor respectively with the same type as `x` if
- `x.dtype != qint32` otherwise the return type is `quint8`.
+ A Tensor or SparseTensor respectively with the same type as `x`.
"""
with ops.name_scope(name, "Tanh", [x]) as name:
if isinstance(x, sparse_tensor.SparseTensor):