Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
apex
Commits
ccffa71c
Commit
ccffa71c
authored
May 22, 2019
by
Michael Carilli
Browse files
Fixing second line for 321.
parent
9bd61cc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apex/amp/frontend.py
apex/amp/frontend.py
+1
-1
No files found.
apex/amp/frontend.py
View file @
ccffa71c
...
...
@@ -78,7 +78,7 @@ class Properties(object):
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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment