Update doc string to indicate clip_by_value accepts tensors as min and max arguments too ()

* Update doc string to indicate clip_by_value accepts tensors as min and max arguments too

* Fix typo
This commit is contained in:
Ankesh Anand 2017-02-21 04:13:25 +05:30 committed by Vijay Vasudevan
parent 06be849aa2
commit 8f8182a965

View File

@ -41,8 +41,10 @@ def clip_by_value(t, clip_value_min, clip_value_max,
Args:
t: A `Tensor`.
clip_value_min: A 0-D (scalar) `Tensor`. The minimum value to clip by.
clip_value_max: A 0-D (scalar) `Tensor`. The maximum value to clip by.
clip_value_min: A 0-D (scalar) `Tensor`, or a `Tensor` with the same shape
as `t`. The minimum value to clip by.
clip_value_max: A 0-D (scalar) `Tensor`, or a `Tensor` with the same shape
as `t`. The maximum value to clip by.
name: A name for the operation (optional).
Returns: