We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
nn.Hardtanh(inplace=True), BinarizeConv2d(int(192*self.ratioInfl), int(384*self.ratioInfl), kernel_size=3, padding=1),
this is a sample code from alexnet binary.py, what i don't understand is since you already binarize the input in
BinarizeConv2d function,
so what is the point of using hardtanh activation?
The text was updated successfully, but these errors were encountered:
To approximate sign gradients in the backward pass
Sorry, something went wrong.
No branches or pull requests
this is a sample code from alexnet binary.py, what i don't understand is since you already binarize the input in
so what is the point of using hardtanh activation?
The text was updated successfully, but these errors were encountered: