Commit d970640
Replace the out of date super init method (#2211)
According to this docs: https://github.com/pytorch/pytorch/blob/master/torch/nn/modules/module.py#L379
We should use `super().__init__()` than `Super(NeuralNetwork, self).__init__()`
Co-authored-by: Svetlana Karslioglu <[email protected]>1 parent d73d23e commit d970640
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments