Apollo 11.0
自动驾驶开放平台
fnn_model_base.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.prediction;
4
5message Vector {
6 repeated double columns = 1;
7}
8
9message Matrix {
10 repeated Vector rows = 1;
11}
12
13message Layer {
15 RELU = 0;
16 TANH = 1;
17 SIGMOID = 2;
18 SOFTMAX = 3;
19 }
20 optional int32 layer_input_dim = 1;
21 optional int32 layer_output_dim = 2;
22 optional Matrix layer_input_weight =
23 3; // weight matrix of |input_dim| x |output_dim|
24 optional Vector layer_bias = 4; // vector of bias, size of |output_dim|
25 optional ActivationFunc layer_activation_func = 5;
26 // optional string layer_activation_type = 6 [deprecated = true];
27}