提交 6cbbc2ec 编写于 作者: D dzhwinter

"add comments"

上级 b9cb0f26
...@@ -86,7 +86,6 @@ message OptimizerState { ...@@ -86,7 +86,6 @@ message OptimizerState {
} }
message OptimizerConfig { message OptimizerConfig {
// common config of optimizer
enum Optimizer { enum Optimizer {
SGD = 1; SGD = 1;
Adadelta = 2; Adadelta = 2;
...@@ -108,6 +107,8 @@ message OptimizerConfig { ...@@ -108,6 +107,8 @@ message OptimizerConfig {
optional LinearLr linear_lr = 13; optional LinearLr linear_lr = 13;
// common config of optimizer // common config of optimizer
optional double clipnorm = 101; // gradient clip when L2 exceeding value
optional double clipvalue = 102; optional double clip_norm = 101;
// gradient clip when L1 exceeding value
optional double clip_value = 102;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册