You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2021. It is now read-only.
p=tf.tanh(wx)
Needs to be replaced by
p=tf.clip_by_value(wx,-1,1)
So, that it becomes the hard tanh function, as described in the paper and validates the straight through estimator.
I.Hubara et.al Binarized Neural Networks: Training Neural Networks with Weights and
Activations Constrained to +1 or -1.