Commit bd487011 authored by rusty1s's avatar rusty1s
Browse files

update small benchmark

parent 38ca4fb2
...@@ -87,7 +87,7 @@ def main(conf): ...@@ -87,7 +87,7 @@ def main(conf):
num_nodes=data.num_nodes, num_nodes=data.num_nodes,
in_channels=in_channels, in_channels=in_channels,
out_channels=out_channels, out_channels=out_channels,
device=device, # Put histories on GPU. device=device, # ... and put histories on GPU as well.
**params.architecture, **params.architecture,
).to(device) ).to(device)
......
...@@ -43,8 +43,6 @@ class GAT(ScalableGNN): ...@@ -43,8 +43,6 @@ class GAT(ScalableGNN):
super().reset_parameters() super().reset_parameters()
for conv in self.convs: for conv in self.convs:
conv.reset_parameters() conv.reset_parameters()
for lin in self.lins:
lin.reset_parameters()
def forward(self, x: Tensor, adj_t: SparseTensor, *args) -> Tensor: def forward(self, x: Tensor, adj_t: SparseTensor, *args) -> Tensor:
for conv, history in zip(self.convs[:-1], self.histories): for conv, history in zip(self.convs[:-1], self.histories):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment