Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clip by value #3

Closed
iperov opened this issue Mar 11, 2019 · 2 comments
Closed

clip by value #3

iperov opened this issue Mar 11, 2019 · 2 comments

Comments

@iperov
Copy link

iperov commented Mar 11, 2019

https://github.com/CyberZHG/keras-adabound/blob/master/keras_adabound/optimizers.py

K.minimum(K.maximum(step, lower_bound), upper_bound)

will not work?

@titu1994
Copy link
Owner

This works better actually. Dunno why I insisted on using K.clip directly.

@titu1994
Copy link
Owner

Closed via 5ce819b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants