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
a21a945c
Unverified
Commit
a21a945c
authored
Jul 03, 2018
by
mcarilli
Committed by
GitHub
Jul 03, 2018
Browse files
Update fp16_optimizer.py
parent
88effd5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apex/fp16_utils/fp16_optimizer.py
apex/fp16_utils/fp16_optimizer.py
+1
-1
No files found.
apex/fp16_utils/fp16_optimizer.py
View file @
a21a945c
...
@@ -184,7 +184,7 @@ class FP16_Optimizer(object):
...
@@ -184,7 +184,7 @@ class FP16_Optimizer(object):
self
.
fp32_from_fp16_groups
.
append
(
fp32_from_fp16_params_this_group
)
self
.
fp32_from_fp16_groups
.
append
(
fp32_from_fp16_params_this_group
)
self
.
fp32_from_fp32_groups
.
append
(
fp32_params_this_group
)
self
.
fp32_from_fp32_groups
.
append
(
fp32_params_this_group
)
self
.
optimizer
=
optimizer
self
.
optimizer
=
init_
optimizer
if
dynamic_loss_scale
:
if
dynamic_loss_scale
:
self
.
dynamic_loss_scale
=
True
self
.
dynamic_loss_scale
=
True
...
...
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