Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lanpa committed May 8, 2018
1 parent f76e92b commit 00232a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def forward(self, x):

class SimpleModel(nn.Module):
def __init__(self):
super().__init__()
super(SimpleModel, self).__init__()
def forward(self, x):
return x*2

Expand Down

0 comments on commit 00232a0

Please sign in to comment.