There was an error while loading. Please reload this page.
1 parent 862105e commit 3a7e068Copy full SHA for 3a7e068
torch/nn/modules/module.py
@@ -338,7 +338,7 @@ def load_state_dict(self, state_dict):
338
if len(missing) > 0:
339
raise KeyError('missing keys in state_dict: "{}"'.format(missing))
340
341
- def parameters(self, memo=None):
+ def parameters(self):
342
"""Returns an iterator over module parameters.
343
344
This is typically passed to an optimizer.
0 commit comments