Skip to content

Commit

Permalink
implemented feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
kerstink-GC committed Oct 25, 2023
1 parent 8ceb167 commit ee56497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphium/nn/pyg_layers/gps_pyg.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ def forward(self, batch: Batch) -> Batch:
if self.node_residual:
if self.layer_depth < 1:
h_local = self.residual_add(h_local, feat_in)
h_local *= self.scale_activations(h_local, self.output_scale)
h_local = self.scale_activations(h_local, self.output_scale)
else:
h_local *= self.scale_activations(h_local, self.output_scale)
h_local = self.scale_activations(h_local, self.output_scale)
h_local = self.residual_add(h_local, feat_in)

if self.norm_layer_local is not None:
Expand Down

0 comments on commit ee56497

Please sign in to comment.