From 64b0929417abe722623df31a58ccc6fe8b2b3d87 Mon Sep 17 00:00:00 2001 From: minqiyang Date: Fri, 29 Mar 2019 17:57:16 +0800 Subject: [PATCH] Polish code test=develop --- python/paddle/fluid/layers/learning_rate_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/layers/learning_rate_scheduler.py b/python/paddle/fluid/layers/learning_rate_scheduler.py index 18ebab8ad68..cc25af1910f 100644 --- a/python/paddle/fluid/layers/learning_rate_scheduler.py +++ b/python/paddle/fluid/layers/learning_rate_scheduler.py @@ -350,7 +350,7 @@ def cosine_decay(learning_rate, step_each_epoch, epochs): following cosine decay strategy. decayed_lr = learning_rate * 0.5 * (math.cos(epoch * math.pi / epochs) + 1) - + Args: learning_rate(Variable|float): The initial learning rate. step_each_epoch(int): the number of steps in an epoch. -- GitLab