12 #ifndef MLPACK_METHODS_ANN_LAYER_CONCAT_PERFORMANCE_HPP 13 #define MLPACK_METHODS_ANN_LAYER_CONCAT_PERFORMANCE_HPP 33 typename OutputLayerType = NegativeLogLikelihood<>,
34 typename InputDataType = arma::mat,
35 typename OutputDataType = arma::mat
47 OutputLayerType&& outputLayer = OutputLayerType());
56 double Forward(
const arma::Mat<eT>& input, arma::Mat<eT>& target);
70 void Backward(
const arma::Mat<eT>& input,
71 const arma::Mat<eT>& target,
72 arma::Mat<eT>& output);
80 OutputDataType&
Delta()
const {
return delta; }
82 OutputDataType&
Delta() {
return delta; }
85 size_t InSize()
const {
return inSize; }
90 template<
typename Archive>
91 void serialize(Archive& ,
const uint32_t );
98 OutputLayerType outputLayer;
101 OutputDataType delta;
104 OutputDataType outputParameter;
111 #include "concat_performance_impl.hpp"
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.