|
Apollo 11.0
自动驾驶开放平台
|
Long-Short Term Memory unit - Hochreiter 1997. 更多...
#include <net_layer.h>
Public 成员函数 | |
| bool | Load (const apollo::prediction::LayerParameter &layer_pb) override |
| Load the layer parameter from a pb message | |
| void | Run (const std::vector< Eigen::MatrixXf > &inputs, Eigen::MatrixXf *output) override |
| Compute the layer output from inputs | |
| void | ResetState () override |
| Reset the internal state and memory cell state as zero-matrix | |
| void | SetState (const std::vector< Eigen::MatrixXf > &states) override |
| Set the internal state and memory cell state | |
| void | State (std::vector< Eigen::MatrixXf > *states) const override |
| Access to the internal state and memory cell state | |
Public 成员函数 继承自 apollo::prediction::network::Layer | |
| Layer ()=default | |
| Constructor | |
| virtual | ~Layer ()=default |
| Destructor | |
| std::string | Name () const |
| Name of a layer | |
| int | OrderNumber () const |
| Order number of a layer in a network | |
Long-Short Term Memory unit - Hochreiter 1997.
For a step-by-step description of the algorithm, see this tutorial.
在文件 net_layer.h 第 322 行定义.
|
overridevirtual |
Load the layer parameter from a pb message
| A | pb message contains the parameters |
重载 apollo::prediction::network::Layer .
在文件 net_layer.cc 第 319 行定义.
|
overridevirtual |
Reset the internal state and memory cell state as zero-matrix
重载 apollo::prediction::network::Layer .
在文件 net_layer.cc 第 464 行定义.
|
overridevirtual |
Compute the layer output from inputs
| Inputs | to a network layer |
| Output | of a network layer will be returned |
实现了 apollo::prediction::network::Layer.
在文件 net_layer.cc 第 448 行定义.
|
overridevirtual |
Set the internal state and memory cell state
| A | vector of Eigen::MatrixXf |
重载 apollo::prediction::network::Layer .
在文件 net_layer.cc 第 477 行定义.
|
overridevirtual |
Access to the internal state and memory cell state
重载 apollo::prediction::network::Layer .
在文件 net_layer.cc 第 471 行定义.