提交 d412a5ea 编写于 作者: H Haichao-Zhang 提交者: emailweixu

add user_arg to LayerConfig (#315)

上级 968464cc
...@@ -382,6 +382,15 @@ sinclude(`ModelConfigLayer.proto.m4') ...@@ -382,6 +382,15 @@ sinclude(`ModelConfigLayer.proto.m4')
// bias size // bias size
optional uint32 bias_size = 48 [default = 0]; optional uint32 bias_size = 48 [default = 0];
// this parameter can be used as a user-defined parameter when necessary,
// without changing the proto file.
// e.g., when a new layer with a user-defined parameter is implemented,
// it can be used to pass that parameter, without modifying the proto file.
// string type is used for flexibility: different types can be converted
// to string and reinterpreted in the user's own layer implementation.
optional string user_arg = 49;
} }
message EvaluatorConfig { message EvaluatorConfig {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册