|
| | Concat (const bool model=true, const bool same=true) |
| | Create the Concat object using the specified parameters. More...
|
| |
| | ~Concat () |
| | Destroy the layers held by the model. More...
|
| |
| template<typename LayerType > |
| void | Add (const LayerType &layer) |
| |
| template<class LayerType , class... Args> |
| void | Add (Args...args) |
| |
| void | Add (LayerTypes< CustomLayers...> layer) |
| |
| template<typename eT > |
| void | Backward (const arma::Mat< eT > &&, arma::Mat< eT > &&gy, arma::Mat< eT > &&g) |
| | Ordinary feed backward pass of a neural network, using 3rd-order tensors as input, calculating the function f(x) by propagating x backwards through f. More...
|
| |
| arma::mat const & | Delta () const |
| | Get the delta.e. More...
|
| |
| arma::mat & | Delta () |
| | Modify the delta. More...
|
| |
| template<typename eT > |
| void | Forward (arma::Mat< eT > &&input, arma::Mat< eT > &&output) |
| | Ordinary feed forward pass of a neural network, evaluating the function f(x) by propagating the activity forward through f. More...
|
| |
| template<typename eT > |
| void | Gradient (arma::Mat< eT > &&, arma::Mat< eT > &&error, arma::Mat< eT > &&) |
| |
| arma::mat const & | Gradient () const |
| | Get the gradient. More...
|
| |
| arma::mat & | Gradient () |
| | Modify the gradient. More...
|
| |
| arma::mat const & | InputParameter () const |
| |
| arma::mat & | InputParameter () |
| | Modify the input parameter. More...
|
| |
std::vector< LayerTypes
< CustomLayers...> > & | Model () |
| | Return the model modules. More...
|
| |
| arma::mat const & | OutputParameter () const |
| | Get the output parameter. More...
|
| |
| arma::mat & | OutputParameter () |
| | Modify the output parameter. More...
|
| |
| const arma::mat & | Parameters () const |
| | Return the initial point for the optimization. More...
|
| |
| arma::mat & | Parameters () |
| | Modify the initial point for the optimization. More...
|
| |
| template<typename Archive > |
| void | serialize (Archive &, const unsigned int) |
| | Serialize the layer. More...
|
| |
template<typename InputDataType = arma::mat, typename OutputDataType = arma::mat, typename... CustomLayers>
class mlpack::ann::Concat< InputDataType, OutputDataType, CustomLayers >
Implementation of the Concat class.
The Concat class works as a feed-forward fully connected network container which plugs various layers together.
- Template Parameters
-
| InputDataType | Type of the input data (arma::colvec, arma::mat, arma::sp_mat or arma::cube). |
| OutputDataType | Type of the output data (arma::colvec, arma::mat, arma::sp_mat or arma::cube). |
| CustomLayers | Additional custom layers if required. |
Definition at line 44 of file concat.hpp.