Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gyzhou2000 committed Jun 26, 2024
1 parent a460dbf commit 4b6f187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gammagl/layers/conv/gat_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ def __init__(self,

init_weight = tlx.initializers.TruncatedNormal()
self.w = tlx.nn.Parameter(
init_weight((in_channels, self.out_channels * self.heads)), name='linear_weight')
init_weight((in_channels, self.out_channels * self.heads)))

initor = tlx.initializers.TruncatedNormal()
self.att = tlx.nn.Parameter(
initor((1, self.heads, self.out_channels * 2)), name='att')
initor((1, self.heads, self.out_channels * 2)))

self.leaky_relu = tlx.layers.LeakyReLU(negative_slope)
self.dropout = tlx.layers.Dropout(self.dropout_rate)
Expand Down

0 comments on commit 4b6f187

Please sign in to comment.