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

All bias in conv layers before the batch norm is unnecessary. #39

Open
nzw0301 opened this issue Jan 24, 2021 · 0 comments
Open

All bias in conv layers before the batch norm is unnecessary. #39

nzw0301 opened this issue Jan 24, 2021 · 0 comments

Comments

@nzw0301
Copy link

nzw0301 commented Jan 24, 2021

When BatchNorm with affine=True is used, the previous layer's bias is cancelled (See the original BN paper for details). The current implementation's Conv2D layers are used with bias=True, so by changing bias=False, UNet and NestedUnet might be faster.

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