mlpack
Public Member Functions | List of all members
mlpack::ann::NoRegularizer Class Reference

Implementation of the NoRegularizer. More...

#include <no_regularizer.hpp>

Public Member Functions

 NoRegularizer ()
 Create the regularizer object.
 
template<typename MatType >
void Evaluate (const MatType &, MatType &)
 Calculate the gradient for regularization. More...
 

Detailed Description

Implementation of the NoRegularizer.

This does not add any regularization to the weights.

Member Function Documentation

◆ Evaluate()

template<typename MatType >
void mlpack::ann::NoRegularizer::Evaluate ( const MatType &  ,
MatType &   
)
inline

Calculate the gradient for regularization.

Template Parameters
MatTypeType of weight matrix.
Parameters
*(weight) The weight matrix to be regularized.
*(gradient) The calculated gradient.

The documentation for this class was generated from the following file: