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 use nn.Conv in the ResNet? #60

Open
WhatAShot opened this issue Sep 1, 2021 · 2 comments
Open

Why use nn.Conv in the ResNet? #60

WhatAShot opened this issue Sep 1, 2021 · 2 comments

Comments

@WhatAShot
Copy link

WhatAShot commented Sep 1, 2021

Hello! Why do you use nn.Conv in the ResNet (self.conv1 and self.fc)? Shouldn't they be implemented with adder?

@HantingChen
Copy link
Collaborator

We do not replace the first and last conv in the networks, since replacing them would affect the performance and their computational cost is relatively very small in the whole network.

@DavideHe
Copy link

We do not replace the first and last conv in the networks, since replacing them would affect the performance and their computational cost is relatively very small in the whole network.

I think addernet's target is for no multiplication on the devices. Because multiplier is expensive for cheap chips such as MCU.
AdderNet‘s potential is for more cheap chip's integration,not only for decreasing the computation.Because compared with mature quantification, the training and integration of addernet is a big engineering problem on Arm architecture chip that is more expensive chips.

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

3 participants