|
LBANN
0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
|
Draw weights values from a normal random distribution. More...
#include <initializer.hpp>
Public Types | |
Public Types | |
| using | AbsDistMatrixType = El::AbstractDistMatrix< TensorDataType > |
| The tensor type expected in this object. More... | |
Public Member Functions | |
| normal_initializer (TensorDataType mean=El::TypeTraits< TensorDataType >::Zero(), TensorDataType standard_deviation=El::TypeTraits< TensorDataType >::One()) | |
| std::string | get_type () const override |
| description | get_description () const override |
| void | fill (AbsDistMatrixType &matrix) override |
| void | write_proto (lbann_data::Initializer &init) const final |
| Add initializer data to prototext. More... | |
Public Member Functions inherited from lbann::Cloneable< normal_initializer< TensorDataType >, data_type_weights_initializer< TensorDataType > > | |
| std::unique_ptr< normal_initializer< TensorDataType > > | clone () const |
| Return an exception-safe, memory-safe copy of this object. More... | |
Private Attributes | |
| TensorDataType | m_mean |
| TensorDataType | m_standard_deviation |
Draw weights values from a normal random distribution.
Definition at line 221 of file initializer.hpp.
| using lbann::normal_initializer< TensorDataType >::AbsDistMatrixType = El::AbstractDistMatrix<TensorDataType> |
The tensor type expected in this object.
Definition at line 230 of file initializer.hpp.
|
inline |
Definition at line 235 of file initializer.hpp.
|
override |
|
override |
|
inlineoverride |
|
final |
Add initializer data to prototext.
|
private |
Normal distribution mean.
Definition at line 249 of file initializer.hpp.
|
private |
Normal distribution standard deviation.
Definition at line 251 of file initializer.hpp.