projects
/
platform
/
upstream
/
tensorflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c0cfd
)
Update docstring as pow supports `float16` now
author
Yong Tang
<yong.tang.github@outlook.com>
Mon, 21 May 2018 23:36:55 +0000
(23:36 +0000)
committer
Yong 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
patch
|
blob
|
history
diff --git
a/tensorflow/python/ops/math_ops.py
b/tensorflow/python/ops/math_ops.py
index
7660c40
..
80351a8
100644
(file)
--- a/
tensorflow/python/ops/math_ops.py
+++ b/
tensorflow/python/ops/math_ops.py
@@
-430,10
+430,10
@@
def pow(x, y, name=None): # pylint: disable=redefined-builtin
```
Args:
- x: A `Tensor` of type `float
32`, `float64`, `int32`, `int64`, `complex
64`,
- or `complex128`.
- y: A `Tensor` of type `float
32`, `float64`, `int32`, `int64`, `complex
64`,
- or `complex128`.
+ x: A `Tensor` of type `float
16`, `float32`, `float64`, `int32`, `int
64`,
+
`complex64`,
or `complex128`.
+ y: A `Tensor` of type `float
16`, `float32`, `float64`, `int32`, `int
64`,
+
`complex64`,
or `complex128`.
name: A name for the operation (optional).
Returns: