mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-23 02:31:52 +01:00
Merge 68955489b9
into fb54d8b549
This commit is contained in:
commit
f6d44c1ad3
@ -70,7 +70,7 @@ def get_learning_rate_decay_fn(params):
|
|||||||
global_step=global_step,
|
global_step=global_step,
|
||||||
decay_steps=params.decay_steps,
|
decay_steps=params.decay_steps,
|
||||||
end_learning_rate=params.end_learning_rate,
|
end_learning_rate=params.end_learning_rate,
|
||||||
power=params.polynomial_power if 'polynomial_power' in paramsv else 1.0,
|
power=params.polynomial_power if 'polynomial_power' in paramsv else 0.5,
|
||||||
)
|
)
|
||||||
return polynomial_decay_fn
|
return polynomial_decay_fn
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user