13#ifndef MLPACK_METHODS_ANN_LOSS_FUNCTION_SIGMOID_CROSS_ENTROPY_ERROR_HPP
14#define MLPACK_METHODS_ANN_LOSS_FUNCTION_SIGMOID_CROSS_ENTROPY_ERROR_HPP
49 typename InputDataType = arma::mat,
50 typename OutputDataType = arma::mat
66 template<
typename InputType,
typename TargetType>
67 inline typename InputType::elem_type
Forward(
const InputType& input,
68 const TargetType& target);
76 template<
typename InputType,
typename TargetType,
typename OutputType>
78 const TargetType& target,
89 template<
typename Archive>
94 OutputDataType outputParameter;
101#include "sigmoid_cross_entropy_error_impl.hpp"
The SigmoidCrossEntropyError performance function measures the network's performance according to the...
OutputDataType & OutputParameter() const
Get the output parameter.
SigmoidCrossEntropyError()
Create the SigmoidCrossEntropyError object.
void Backward(const InputType &input, const TargetType &target, OutputType &output)
Ordinary feed backward pass of a neural network.
InputType::elem_type Forward(const InputType &input, const TargetType &target)
Computes the Sigmoid CrossEntropy Error functions.
OutputDataType & OutputParameter()
Modify the output parameter.
void serialize(Archive &ar, const unsigned int)
Serialize the layer.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.