The Log-Hyperbolic-Cosine loss function is often used to improve variational auto encoder.
More...
|
| | LogCoshLoss (const double a=1.0) |
| | Create the Log-Hyperbolic-Cosine object with the specified parameters. More...
|
| |
| double | A () const |
| | Get the value of hyperparameter a. More...
|
| |
| double & | A () |
| | Modify the value of hyperparameter a. More...
|
| |
| template<typename InputType , typename TargetType , typename OutputType > |
| void | Backward (const InputType &input, const TargetType &target, OutputType &output) |
| | Ordinary feed backward pass of a neural network. More...
|
| |
| template<typename InputType , typename TargetType > |
| InputType::elem_type | Forward (const InputType &input, const TargetType &target) |
| | Computes the Log-Hyperbolic-Cosine loss function. More...
|
| |
| OutputDataType & | OutputParameter () const |
| | Get the output parameter. More...
|
| |
| OutputDataType & | OutputParameter () |
| | Modify the output parameter. More...
|
| |
| template<typename Archive > |
| void | serialize (Archive &ar, const unsigned int) |
| | Serialize the loss function. More...
|
| |
template<typename InputDataType = arma::mat, typename OutputDataType = arma::mat>
class mlpack::ann::LogCoshLoss< InputDataType, OutputDataType >
The Log-Hyperbolic-Cosine loss function is often used to improve variational auto encoder.
This function is the log of hyperbolic cosine of difference between true values and predicted values.
- 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). |
Definition at line 35 of file log_cosh_loss.hpp.