Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix unused arg
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudh2290 committed Aug 8, 2019
1 parent 919879d commit 306e2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mxnet/module/bucketing_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def save_checkpoint(self, prefix, epoch, remove_amp_cast=False):
nd.save("%s.buckets" % (prefix), nd.array(list(self._buckets.keys()), dtype=np.int32))

@staticmethod
def load(prefix, epoch, load_optimizer_states=False, sym_gen=None, default_bucket_key=None, **kwargs):
def load(prefix, epoch, sym_gen=None, default_bucket_key=None, **kwargs):
"""Creates a model from previously saved checkpoint.
Parameters
Expand Down

0 comments on commit 306e2df

Please sign in to comment.