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
646c3f75
Commit
646c3f75
authored
Mar 20, 2018
by
Hanqing Sun
Committed by
Taylor Robie
Mar 19, 2018
Browse files
fix doc of func `learning_rate_with_decay` (#3634)
parent
7e4c66b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/resnet/resnet_run_loop.py
official/resnet/resnet_run_loop.py
+2
-2
No files found.
official/resnet/resnet_run_loop.py
View file @
646c3f75
...
...
@@ -145,8 +145,8 @@ def learning_rate_with_decay(
boundary_epochs: list of ints representing the epochs at which we
decay the learning rate.
decay_rates: list of floats representing the decay rates to be used
for scaling the learning rate.
S
hould
be the sam
e le
ngth as
boundary_epochs.
for scaling the learning rate.
It s
hould
have one mor
e
e
le
ment
than `
boundary_epochs
`, and all elements should have the same type
.
Returns:
Returns a function that takes a single argument - the number of batches
...
...
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