#include <autotuning_mlp_net_model.h>
|
| | AutotuningMLPModel ()=default |
| |
| virtual | ~AutotuningMLPModel ()=default |
| |
| void | Run (const std::vector< Eigen::MatrixXf > &inputs, Eigen::MatrixXf *output) const override |
| | Compute the model output from inputs according to a defined layers' flow
|
| |
| | NetModel ()=default |
| | Constructor
|
| |
| virtual | ~NetModel ()=default |
| | Destructor
|
| |
| virtual void | SetState (const std::vector< Eigen::MatrixXf > &states) |
| | Set the internal state of a network model
|
| |
| virtual void | State (std::vector< Eigen::MatrixXf > *states) const |
| | Access to the internal state of a network model
|
| |
| virtual void | ResetState () const |
| | Set the internal state of a model
|
| |
| bool | LoadModel (const NetParameter &net_parameter) |
| | Load network parameters from a protobuf message
|
| |
| std::string | PerformanceString () const |
| | Shows the performance information of a network
|
| |
| const std::string & | Name () const |
| | Name of a network model
|
| |
| int | Id () const |
| | Id of a network model
|
| |
| bool | IsOk () const |
| | Indicate the state of a network model
|
| |
◆ AutotuningMLPModel()
| apollo::planning::AutotuningMLPModel::AutotuningMLPModel |
( |
| ) |
|
|
default |
◆ ~AutotuningMLPModel()
| virtual apollo::planning::AutotuningMLPModel::~AutotuningMLPModel |
( |
| ) |
|
|
virtualdefault |
◆ Run()
| void apollo::planning::AutotuningMLPModel::Run |
( |
const std::vector< Eigen::MatrixXf > & |
inputs, |
|
|
Eigen::MatrixXf * |
output |
|
) |
| const |
|
overridevirtual |
Compute the model output from inputs according to a defined layers' flow
- 参数
-
| Inputs | to the network |
| Output | of the network will be returned |
实现了 apollo::prediction::network::NetModel.
在文件 autotuning_mlp_net_model.cc 第 22 行定义.
23 {
24 Eigen::MatrixXf inp = inputs[0];
25 Eigen::MatrixXf temp;
26 for (
size_t i = 0; i <
layers_.size(); ++i) {
28 inp = temp;
29 }
30 *output = temp;
31}
std::vector< std::unique_ptr< Layer > > layers_
该类的文档由以下文件生成: