Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
benedekrozemberczki committed Jul 2, 2020
1 parent 9e8f08e commit 2806eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_geometric_temporal/nn/conv/gconv_gru.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def __init__(self, in_channels, out_channels, K):
self.in_channels = in_channels
self.out_channels = out_channels
self.K = K

self._create_parameters_and_layers()


Expand Down Expand Up @@ -66,6 +65,7 @@ def _set_hidden_state(self, X, H):
H = torch.zeros(X.shape[0], self.out_channels)
return H


def _calculate_update_gate(self, X, edge_index, edge_weight, H):
Z = self.conv_x_z(X, edge_index, edge_weight)
Z = Z + self.conv_h_z(H, edge_index, edge_weight)
Expand Down

0 comments on commit 2806eaf

Please sign in to comment.