Commit 083cf6b9 authored by Yong Tang's avatar Yong Tang
Browse files

Add customerized kernel implementation for clip_by_value



This fix tries to address the issue raised in 7225 where
`tf.clip_by_value` does not have a custom kernel and reused
`tf.maximum` and `tf.mimimum`. In case scalar values are passed
to `tf.clip_by_value`, unnecessary memory might incur.

This fix adds the customerized kernel implementation for
`tf.clip_by_value`.

This fix fixes 7225.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 0ef36a5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment