mlpack
master
|
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... | |
This class is used to initialize randomly the weight matrix.
Definition at line 24 of file zero_init.hpp.
|
inline |
Create the ZeroInitialization object.
Definition at line 30 of file zero_init.hpp.
|
inline |
Initialize the elements of the specified weight matrix.
W | Weight matrix to initialize. |
rows | Number of rows. |
cols | Number of columns. |
Definition at line 40 of file zero_init.hpp.
|
inline |
Initialize the elements of the specified weight (3rd order tensor).
W | Weight matrix to initialize. |
rows | Number of rows. |
cols | Number of columns. |
Definition at line 53 of file zero_init.hpp.