![]() |
ATLAS Offline Software
|
#include <Stack.h>
Public Member Functions | |
| LSTMLayer (const ActivationConfig &activation, const ActivationConfig &inner_activation, const MatrixXd &W_i, const MatrixXd &U_i, const VectorXd &b_i, const MatrixXd &W_f, const MatrixXd &U_f, const VectorXd &b_f, const MatrixXd &W_o, const MatrixXd &U_o, const VectorXd &b_o, const MatrixXd &W_c, const MatrixXd &U_c, const VectorXd &b_c, bool go_backwards, bool return_sequence) | |
| virtual | ~LSTMLayer () |
| virtual MatrixXd | scan (const MatrixXd &) const override |
| void | step (const VectorXd &input, LSTMState &) const |
Public Attributes | |
| bool | m_go_backwards = false |
| bool | m_return_sequence = false |
Private Attributes | |
| std::function< double(double)> | m_activation_fun |
| std::function< double(double)> | m_inner_activation_fun |
| MatrixXd | m_W_i |
| MatrixXd | m_U_i |
| VectorXd | m_b_i |
| MatrixXd | m_W_f |
| MatrixXd | m_U_f |
| VectorXd | m_b_f |
| MatrixXd | m_W_o |
| MatrixXd | m_U_o |
| VectorXd | m_b_o |
| MatrixXd | m_W_c |
| MatrixXd | m_U_c |
| VectorXd | m_b_c |
| int | m_n_outputs |
| lwtDev::LSTMLayer::LSTMLayer | ( | const ActivationConfig & | activation, |
| const ActivationConfig & | inner_activation, | ||
| const MatrixXd & | W_i, | ||
| const MatrixXd & | U_i, | ||
| const VectorXd & | b_i, | ||
| const MatrixXd & | W_f, | ||
| const MatrixXd & | U_f, | ||
| const VectorXd & | b_f, | ||
| const MatrixXd & | W_o, | ||
| const MatrixXd & | U_o, | ||
| const VectorXd & | b_o, | ||
| const MatrixXd & | W_c, | ||
| const MatrixXd & | U_c, | ||
| const VectorXd & | b_c, | ||
| bool | go_backwards, | ||
| bool | return_sequence ) |
Definition at line 473 of file Stack.cxx.
|
inlinevirtual |
|
overridevirtual |
Implements lwtDev::IRecurrentLayer.
Definition at line 535 of file Stack.cxx.
|
private |
|
inherited |
|
private |
|
inherited |