We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d73d23e commit d970640Copy full SHA for d970640
beginner_source/basics/buildmodel_tutorial.py
@@ -49,7 +49,7 @@
49
50
class NeuralNetwork(nn.Module):
51
def __init__(self):
52
- super(NeuralNetwork, self).__init__()
+ super().__init__()
53
self.flatten = nn.Flatten()
54
self.linear_relu_stack = nn.Sequential(
55
nn.Linear(28*28, 512),
0 commit comments