You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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
In
pytorch-GAT-main/models/definitions/GAT.py
, lines 97 to 100, we initialize the tensor forbias
. Then, in line 123, we further initialize the value ofbias
usingself.init_params(layer_type)
. However, the function we use istorch.nn.init.zeros_()
, which sets all elements inbias
to 0. Could this be the reason for the comment, "Bias is definitely not crucial to GAT"? Perhaps we should consider usingtorch.nn.init.normal_()
or another initialization function instead?The text was updated successfully, but these errors were encountered: