Skip to content

Commit

Permalink
add user_arg to LayerConfig (PaddlePaddle#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haichao-Zhang authored and emailweixu committed Nov 2, 2016
1 parent 968464c commit d412a5e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions proto/ModelConfig.proto.m4
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,15 @@ sinclude(`ModelConfigLayer.proto.m4')

// bias size
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 {
Expand Down

0 comments on commit d412a5e

Please sign in to comment.