12 #ifndef MLPACK_METHODS_ANN_LAYER_CONCAT_PERFORMANCE_HPP 13 #define MLPACK_METHODS_ANN_LAYER_CONCAT_PERFORMANCE_HPP 33 typename OutputLayerType = NegativeLogLikelihood<>,
34 typename InputType = arma::mat,
35 typename OutputType = arma::mat
54 void Forward(
const InputType& input, OutputType& target);
67 void Backward(
const InputType& input,
68 const OutputType& target,
77 OutputType&
Delta()
const {
return delta; }
79 OutputType&
Delta() {
return delta; }
84 template<
typename Archive>
85 void serialize(Archive& ,
const uint32_t );
89 OutputLayerType outputLayer;
96 #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.
A layer is an abstract class implementing common neural networks operations, such as convolution...