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

I am puzzled about your comment ”Bias is definitely not crucial to GAT“ #17

Open
AnotherYx opened this issue Aug 28, 2024 · 0 comments

Comments

@AnotherYx
Copy link

In pytorch-GAT-main/models/definitions/GAT.py, lines 97 to 100, we initialize the tensor for bias. Then, in line 123, we further initialize the value of bias using self.init_params(layer_type). However, the function we use is torch.nn.init.zeros_(), which sets all elements in bias to 0. Could this be the reason for the comment, "Bias is definitely not crucial to GAT"? Perhaps we should consider using torch.nn.init.normal_() or another initialization function instead?

@AnotherYx AnotherYx changed the title I am puzzled about you comment ”Bias is definitely not crucial to GAT“ I am puzzled about your comment ”Bias is definitely not crucial to GAT“ Aug 28, 2024
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