Update docstring as pow supports `float16` now
authorYong Tang <yong.tang.github@outlook.com>
Mon, 21 May 2018 23:36:55 +0000 (23:36 +0000)
committerYong Tang <yong.tang.github@outlook.com>
Mon, 21 May 2018 23:53:22 +0000 (23:53 +0000)
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
tensorflow/python/ops/math_ops.py

index 7660c40..80351a8 100644 (file)
@@ -430,10 +430,10 @@ def pow(x, y, name=None):  # pylint: disable=redefined-builtin
   ```
 
   Args:
-    x: A `Tensor` of type `float32`, `float64`, `int32`, `int64`, `complex64`,
-     or `complex128`.
-    y: A `Tensor` of type `float32`, `float64`, `int32`, `int64`, `complex64`,
-     or `complex128`.
+    x: A `Tensor` of type `float16`, `float32`, `float64`, `int32`, `int64`,
+     `complex64`, or `complex128`.
+    y: A `Tensor` of type `float16`, `float32`, `float64`, `int32`, `int64`,
+     `complex64`, or `complex128`.
     name: A name for the operation (optional).
 
   Returns: