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
ModelZoo
ResNet50_tensorflow
Commits
16c3feab
Commit
16c3feab
authored
Dec 28, 2020
by
Haitang Hu
Committed by
A. Unique TensorFlower
Dec 28, 2020
Browse files
Fix documentation for AdamWeightDecayConfig.
PiperOrigin-RevId: 349314516
parent
412f4d2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
official/modeling/optimization/configs/optimizer_config.py
official/modeling/optimization/configs/optimizer_config.py
+3
-1
No files found.
official/modeling/optimization/configs/optimizer_config.py
View file @
16c3feab
...
@@ -112,8 +112,10 @@ class AdamWeightDecayConfig(BaseOptimizerConfig):
...
@@ -112,8 +112,10 @@ class AdamWeightDecayConfig(BaseOptimizerConfig):
weight_decay_rate: float. Weight decay rate. Default to 0.
weight_decay_rate: float. Weight decay rate. Default to 0.
include_in_weight_decay: list[str], or None. List of weight names to include
include_in_weight_decay: list[str], or None. List of weight names to include
in weight decay.
in weight decay.
in
clude_
in
_weight_decay: list[str], or None. List of weight names to not
ex
clude_
from
_weight_decay: list[str], or None. List of weight names to not
include in weight decay.
include in weight decay.
gradient_clip_norm: A positive float. Clips the gradients to this maximum
L2-norm. Default to 1.0.
"""
"""
name
:
str
=
"AdamWeightDecay"
name
:
str
=
"AdamWeightDecay"
beta_1
:
float
=
0.9
beta_1
:
float
=
0.9
...
...
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