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

WHY add before bn? #1

Open
howardchina opened this issue Sep 5, 2019 · 1 comment
Open

WHY add before bn? #1

howardchina opened this issue Sep 5, 2019 · 1 comment

Comments

@howardchina
Copy link

on https://github.com/hhb072/IntroVAE/blob/master/networks.py
line 40
output = self.relu2(self.bn2(torch.add(output,identity_data)))
I see the normal ResBlock code like this form:
output = self.relu2(torch.add(self.bn2(output),identity_data))

Why Add before batchNorm?

@klory
Copy link

klory commented Dec 1, 2019

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