diff --git a/proto/OptimizerConfig.proto b/proto/OptimizerConfig.proto index 16b041a9b257d11cbaa2e07c265053ecdedcaa71..3986fce5da696ca4fea2df24d7f9e5ba0efc76d1 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; }