fix bug for windows
This commit is contained in:
@ -43,6 +43,7 @@ class Net(torch.nn.Module):
|
||||
x = self.predict(x) # linear output
|
||||
return x
|
||||
|
||||
if __name__ == '__main__':
|
||||
# different nets
|
||||
net_SGD = Net()
|
||||
net_Momentum = Net()
|
||||
|
||||
Reference in New Issue
Block a user