Update doc string to indicate clip_by_value accepts tensors as min and max arguments too (#7692)
* Update doc string to indicate clip_by_value accepts tensors as min and max arguments too * Fix typo
This commit is contained in:
parent
06be849aa2
commit
8f8182a965
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user