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:
f72e6f7
)
Update docstring for tf.round as it support all real types.
author
Yong Tang
<yong.tang.github@outlook.com>
Mon, 21 May 2018 23:57:17 +0000
(23:57 +0000)
committer
Yong Tang
<yong.tang.github@outlook.com>
Mon, 21 May 2018 23:57:17 +0000
(23:57 +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
80351a8
..
776f9b8
100644
(file)
--- a/
tensorflow/python/ops/math_ops.py
+++ b/
tensorflow/python/ops/math_ops.py
@@
-600,7
+600,7
@@
def round(x, name=None): # pylint: disable=redefined-builtin
```
Args:
- x: A `Tensor` of type `float
32` or `floa
t64`.
+ x: A `Tensor` of type `float
16`, `float32`, `float64`, `int32`, or `in
t64`.
name: A name for the operation (optional).
Returns: