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 f219970 commit ec46af7Copy full SHA for ec46af7
torch/nn/modules/module.py
@@ -461,6 +461,7 @@ def __init__(self) -> None:
461
super().__setattr__('_load_state_dict_pre_hooks', OrderedDict())
462
super().__setattr__('_load_state_dict_post_hooks', OrderedDict())
463
super().__setattr__('_modules', OrderedDict())
464
+ super().__init__()
465
466
forward: Callable[..., Any] = _forward_unimplemented
467
0 commit comments