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

Do we need bias in the Linear layers? #11

Open
ifeherva opened this issue Dec 12, 2019 · 1 comment
Open

Do we need bias in the Linear layers? #11

ifeherva opened this issue Dec 12, 2019 · 1 comment

Comments

@ifeherva
Copy link

In the code the attention layers use a bias term as well:
https://github.com/AMLab-Amsterdam/AttentionDeepMIL/blob/master/model.py#L28

I was wondering if that is necessary or not, given we need only a dot product with the weights.

@sri9s
Copy link

sri9s commented Jun 7, 2022

Did it help by avoiding bias?

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