Apollo 10.0
自动驾驶开放平台
fnn_model.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.sim_control;
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 }
19 optional int32 layer_input_dim = 1;
20 optional int32 layer_output_dim = 2;
21 optional Matrix layer_input_weight = 3; // weight matrix of |input_dim| x |output_dim|
22 optional Vector layer_bias = 4; // vector of bias, size of |output_dim|
23 optional ActivationFunc layer_activation_func = 5;
24}
25
26message FnnModel {
27 optional int32 dim_input = 1;
28 optional Vector input_feature_mean = 2;
29 optional Vector input_feature_std = 3;
30 optional Vector output_feature_mean = 4;
31 optional Vector output_feature_std = 5;
32 optional int32 num_layer = 6;
33 repeated Layer layer = 7; // num_layer must equal to first layer layer_input_dim
34 optional int32 dim_output = 8; // dim_ouput must equal to last layer layer_output_dim
35}
syntax