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

HardTanh function problem #2

Open
jacky4323 opened this issue Jan 30, 2018 · 0 comments
Open

HardTanh function problem #2

jacky4323 opened this issue Jan 30, 2018 · 0 comments

Comments

@jacky4323
Copy link

Hi,

I have some questions
Why do you use HardTanh function to implement activation function in BNN_cifar100.py?
In other words ,if the previous layer has HardTanh function,and the output of HardTanh function will go through the next layer BinarizedSpatialConvolution which also has binarize function(do the similar thing I think)
I means you will propagate the same gradient two times(HardTanh function and binarize function)

Any help would be appericated! Thanks a lot!

Best Regards,
PengWei

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

1 participant