From 6cbbc2ec1de4fc6c4d4b2baad1b53358d35d65f3 Mon Sep 17 00:00:00 2001 From: dzhwinter Date: Wed, 7 Jun 2017 14:24:43 +0800 Subject: [PATCH] "add comments" --- proto/OptimizerConfig.proto | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/proto/OptimizerConfig.proto b/proto/OptimizerConfig.proto index 16b041a9b..3986fce5d 100644 --- a/proto/OptimizerConfig.proto +++ b/proto/OptimizerConfig.proto @@ -86,7 +86,6 @@ message OptimizerState { } message OptimizerConfig { - // common config of optimizer enum Optimizer { SGD = 1; Adadelta = 2; @@ -108,6 +107,8 @@ message OptimizerConfig { optional LinearLr linear_lr = 13; // common config of optimizer - optional double clipnorm = 101; - optional double clipvalue = 102; + // gradient clip when L2 exceeding value + optional double clip_norm = 101; + // gradient clip when L1 exceeding value + optional double clip_value = 102; } -- GitLab