#include <Stack.h>
|
typedef std::pair< MatrixXd, VectorXd > | InitUnit |
|
Definition at line 125 of file Stack.h.
◆ InitUnit
◆ MaxoutLayer()
lwtDev::MaxoutLayer::MaxoutLayer |
( |
const std::vector< InitUnit > & |
maxout_tensor | ) |
|
◆ compute()
VectorXd lwtDev::MaxoutLayer::compute |
( |
const VectorXd & |
in | ) |
const |
|
overridevirtual |
Implements lwtDev::ILayer.
Definition at line 227 of file Stack.cxx.
231 const size_t out_dim =
m_matrices.front().rows();
232 MatrixXd
outputs(n_mat, out_dim);
233 for (
size_t mat_n = 0; mat_n < n_mat; mat_n++) {
237 return outputs.colwise().maxCoeff();
◆ m_bias
MatrixXd lwtDev::MaxoutLayer::m_bias |
|
private |
◆ m_matrices
std::vector<MatrixXd> lwtDev::MaxoutLayer::m_matrices |
|
private |
The documentation for this class was generated from the following files: