Skip to content

Commit

Permalink
Fixing second line for 321.
Browse files Browse the repository at this point in the history
  • Loading branch information
definitelynotmcarilli committed May 22, 2019
1 parent 9bd61cc commit ccffa71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apex/amp/frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def __setattr__(self, name, value):
else:
assert (value is True or value is False or value is None),\
"keep_batchnorm_fp32 must be a boolean, the string 'True' or 'False', "\
"or None, found keep_batchnorm_fp32={}".format(keep_batchnorm_fp32)
"or None, found keep_batchnorm_fp32={}".format(value)
self.options[name] = value
elif name == "master_weights":
if self.opt_level == "O1" and value is not None:
Expand Down

0 comments on commit ccffa71

Please sign in to comment.