|
Apollo 11.0
自动驾驶开放平台
|
apollo::prediction::network 更多...
类 | |
| class | Activation |
| Activation is an activation network layer. 更多... | |
| class | AvgPool1d |
| AvgPool1d is the average Pool 1d network layer. 更多... | |
| class | BatchNormalization |
| class | Concatenate |
| concatenates a vector of inputs, return a single matrix. 更多... | |
| class | Conv1d |
| Conv1d is the convolution 1d network layer. 更多... | |
| class | Dense |
| Dense is the forward fully connected network layer. 更多... | |
| class | Flatten |
| network layer to flatten a matrix into vector. 更多... | |
| class | Input |
| the input layer for a network, which specified the shape of input matrix 更多... | |
| class | Layer |
| Layer is a base class for specific network layers It contains a pure virtual function Run which must be implemented in derived class 更多... | |
| class | LSTM |
| Long-Short Term Memory unit - Hochreiter 1997. 更多... | |
| class | MaxPool1d |
| MaxPool1d is the max Pool 1d network layer. 更多... | |
| class | NetModel |
| NetModel is a base class for specific network model It contains a pure virtual function Run which must be implemented in derived class 更多... | |
| class | RnnModel |
| RnnModel is a derived class from NetModel, it has a specific layers structure. 更多... | |
函数 | |
| float | sigmoid (const float x) |
| sigmoid function: f(x) = 1 / (1 + exp(-x)) | |
| float | tanh (const float x) |
| hyperbolic tangent function: f(x) = (1 + exp(-2x)) / (1 - exp(-2x)) | |
| float | linear (const float x) |
| linear function: f(x) = x | |
| float | hard_sigmoid (const float x) |
| "hard" sigmoid function: | 0.0 x in (-oo, 0) f(x) = | 0.2x + 0.5 x in [0, 2.5] | 1.0 x in (2.5, +oo) | |
| float | relu (const float x) |
| relu function: | 0.0 x in (-oo, 0.0) f(x) = | | x x in [0.0, +oo) | |
| Eigen::MatrixXf | FlattenMatrix (const Eigen::MatrixXf &matrix) |
| flatten a matrix to a row vector | |
| std::function< float(float)> | serialize_to_function (const std::string &str) |
| translate a string into a network activation function | |
| bool | LoadTensor (const TensorParameter &tensor_pb, Eigen::MatrixXf *matrix) |
| load matrix value from a protobuf message | |
| bool | LoadTensor (const TensorParameter &tensor_pb, Eigen::VectorXf *vector) |
| load vector value from a protobuf message | |
| bool | LoadTensor (const TensorParameter &tensor_pb, std::vector< Eigen::MatrixXf > *const tensor3d) |
| load matrix value from a protobuf message | |
| Eigen::MatrixXf apollo::prediction::network::FlattenMatrix | ( | const Eigen::MatrixXf & | matrix | ) |
flatten a matrix to a row vector
| Input | matrix |
在文件 net_util.cc 第 40 行定义.
| float apollo::prediction::network::hard_sigmoid | ( | const float | x | ) |
"hard" sigmoid function: | 0.0 x in (-oo, 0) f(x) = | 0.2x + 0.5 x in [0, 2.5] | 1.0 x in (2.5, +oo)
在文件 net_util.cc 第 33 行定义.
| float apollo::prediction::network::linear | ( | const float | x | ) |
| bool apollo::prediction::network::LoadTensor | ( | const TensorParameter & | tensor_pb, |
| Eigen::MatrixXf * | matrix | ||
| ) |
load matrix value from a protobuf message
| protobuf | message in the form of TensorParameter |
| Eigen::MatrixXf | will be returned |
在文件 net_util.cc 第 66 行定义.
| bool apollo::prediction::network::LoadTensor | ( | const TensorParameter & | tensor_pb, |
| Eigen::VectorXf * | vector | ||
| ) |
load vector value from a protobuf message
| protobuf | message in the form of TensorParameter |
| Eigen::VectorXf | will be returned |
在文件 net_util.cc 第 92 行定义.
| bool apollo::prediction::network::LoadTensor | ( | const TensorParameter & | tensor_pb, |
| std::vector< Eigen::MatrixXf > *const | tensor3d | ||
| ) |
load matrix value from a protobuf message
| protobuf | message in the form of TensorParameter |
| vector | of Eigen::MatrixXf will be returned |
在文件 net_util.cc 第 108 行定义.
| float apollo::prediction::network::relu | ( | const float | x | ) |
relu function: | 0.0 x in (-oo, 0.0) f(x) = | | x x in [0.0, +oo)
在文件 net_util.cc 第 38 行定义.
| std::function< float(float)> apollo::prediction::network::serialize_to_function | ( | const std::string & | str | ) |
translate a string into a network activation function
| string |
在文件 net_util.cc 第 56 行定义.
| float apollo::prediction::network::sigmoid | ( | const float | x | ) |
sigmoid function: f(x) = 1 / (1 + exp(-x))
在文件 net_util.cc 第 27 行定义.
| float apollo::prediction::network::tanh | ( | const float | x | ) |
hyperbolic tangent function: f(x) = (1 + exp(-2x)) / (1 - exp(-2x))
在文件 net_util.cc 第 29 行定义.