|
Apollo 11.0
自动驾驶开放平台
|
AvgPool1d is the average Pool 1d network layer. 更多...
#include <net_layer.h>
Public 成员函数 | |
| bool | Load (const apollo::prediction::LayerParameter &layer_pb) override |
| Load the dense layer parameter from a pb message | |
| bool | Load (const apollo::prediction::AvgPool1dParameter &avgpool1d_pb) |
| Load the avg pool 1d layer parameter from a pb message | |
| void | Run (const std::vector< Eigen::MatrixXf > &inputs, Eigen::MatrixXf *output) override |
| Compute the layer output from inputs | |
Public 成员函数 继承自 apollo::prediction::network::Layer | |
| Layer ()=default | |
| Constructor | |
| virtual | ~Layer ()=default |
| Destructor | |
| virtual void | ResetState () |
| Reset the internal state of a layer such as LSTM, GRU | |
| virtual void | SetState (const std::vector< Eigen::MatrixXf > &states) |
| Set the internal state of a layer | |
| virtual void | State (std::vector< Eigen::MatrixXf > *states) const |
| Access to the internal state of a layer | |
| std::string | Name () const |
| Name of a layer | |
| int | OrderNumber () const |
| Order number of a layer in a network | |
AvgPool1d is the average Pool 1d network layer.
在文件 net_layer.h 第 218 行定义.
| bool apollo::prediction::network::AvgPool1d::Load | ( | const apollo::prediction::AvgPool1dParameter & | avgpool1d_pb | ) |
Load the avg pool 1d layer parameter from a pb message
| A | pb message contains the parameters |
|
overridevirtual |
Load the dense layer parameter from a pb message
| A | pb message contains the parameters |
|
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 第 219 行定义.