"docs/source/vscode:/vscode.git/clone" did not exist on "0dd59e0dda22eabf54fc95ad8050094df239bd39"
Commit 9bd61cc1 authored by ptrblck's avatar ptrblck Committed by mcarilli
Browse files

use value in assert statement (#321)

parent c490bd36
......@@ -70,7 +70,7 @@ class Properties(object):
if self.opt_level == "O1" and value is not None:
warn_or_err("With opt_level O1, batchnorm functions are automatically patched "
"to run in FP32, so keep_batchnorm_fp32 should be None." +
"keep_batchnorm_fp32 was {}".format(keep_batchnorm_fp32))
" keep_batchnorm_fp32 was {}".format(value))
if value == "False":
self.options[name] = False
elif value == "True":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment