12 #ifndef MLPACK_METHODS_ANN_LAYER_CONCAT_PERFORMANCE_HPP
13 #define MLPACK_METHODS_ANN_LAYER_CONCAT_PERFORMANCE_HPP
17 #include <boost/ptr_container/ptr_vector.hpp>
35 typename OutputLayerType = NegativeLogLikelihood<>,
36 typename InputDataType = arma::mat,
37 typename OutputDataType = arma::mat
49 OutputLayerType&& outputLayer = OutputLayerType());
58 double Forward(
const arma::Mat<eT>& input, arma::Mat<eT>& target);
72 void Backward(
const arma::Mat<eT>& input,
73 const arma::Mat<eT>& target,
74 arma::Mat<eT>& output);
82 OutputDataType&
Delta()
const {
return delta; }
84 OutputDataType&
Delta() {
return delta; }
89 template<
typename Archive>
90 void serialize(Archive& ,
const unsigned int );
97 OutputLayerType outputLayer;
100 OutputDataType delta;
103 OutputDataType outputParameter;
110 #include "concat_performance_impl.hpp"
The core includes that mlpack expects; standard C++ includes and Armadillo.