|
Apollo 11.0
自动驾驶开放平台
|
RnnModel is a derived class from NetModel, it has a specific layers structure. 更多...
#include <rnn_model.h>
Public 成员函数 | |
| 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 | |
| void | SetState (const std::vector< Eigen::MatrixXf > &states) override |
| Set the internal state of a network model | |
| void | State (std::vector< Eigen::MatrixXf > *states) const override |
| Access to the internal state of a network model | |
| void | ResetState () const override |
| Set the internal state of a model | |
Public 成员函数 继承自 apollo::prediction::network::NetModel | |
| NetModel ()=default | |
| Constructor | |
| virtual | ~NetModel ()=default |
| Destructor | |
| 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 | |
额外继承的成员函数 | |
Protected 属性 继承自 apollo::prediction::network::NetModel | |
| std::vector< std::unique_ptr< Layer > > | layers_ |
| NetParameter | net_parameter_ |
| bool | ok_ = false |
RnnModel is a derived class from NetModel, it has a specific layers structure.
在文件 rnn_model.h 第 37 行定义.
|
overridevirtual |
Set the internal state of a model
| A | specified internal state in a vector of Eigen::MatrixXf |
重载 apollo::prediction::network::NetModel .
在文件 rnn_model.cc 第 74 行定义.
|
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.
在文件 rnn_model.cc 第 25 行定义.
|
overridevirtual |
Set the internal state of a network model
| A | specified internal state in a vector of Eigen::MatrixXf |
重载 apollo::prediction::network::NetModel .
在文件 rnn_model.cc 第 65 行定义.
|
overridevirtual |
Access to the internal state of a network model
重载 apollo::prediction::network::NetModel .
在文件 rnn_model.cc 第 70 行定义.