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

This class is used to initialize randomly the weight matrix. More...

Public Member Functions

 ZeroInitialization ()
 Create the ZeroInitialization object. More...
 
template<typename eT >
void Initialize (arma::Mat< eT > &W, const size_t rows, const size_t cols)
 Initialize the elements of the specified weight matrix. More...
 
template<typename eT >
void Initialize (arma::Cube< eT > &W, const size_t rows, const size_t cols, const size_t slices)
 Initialize the elements of the specified weight (3rd order tensor). More...
 

Detailed Description

This class is used to initialize randomly the weight matrix.

Definition at line 24 of file zero_init.hpp.

Constructor & Destructor Documentation

mlpack::ann::ZeroInitialization::ZeroInitialization ( )
inline

Create the ZeroInitialization object.

Definition at line 30 of file zero_init.hpp.

Member Function Documentation

template<typename eT >
void mlpack::ann::ZeroInitialization::Initialize ( arma::Mat< eT > &  W,
const size_t  rows,
const size_t  cols 
)
inline

Initialize the elements of the specified weight matrix.

Parameters
WWeight matrix to initialize.
rowsNumber of rows.
colsNumber of columns.

Definition at line 40 of file zero_init.hpp.

template<typename eT >
void mlpack::ann::ZeroInitialization::Initialize ( arma::Cube< eT > &  W,
const size_t  rows,
const size_t  cols,
const size_t  slices 
)
inline

Initialize the elements of the specified weight (3rd order tensor).

Parameters
WWeight matrix to initialize.
rowsNumber of rows.
colsNumber of columns.

Definition at line 53 of file zero_init.hpp.


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