|
LBANN
0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
|
Fill weights with values from a list. More...
#include <initializer.hpp>
Public Types | |
Public Types | |
| using | AbsDistMatrixType = El::AbstractDistMatrix< TensorDataType > |
| The tensor type expected in this object. More... | |
Public Member Functions | |
| value_initializer (std::vector< TensorDataType > values) | |
| std::string | get_type () 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< value_initializer< TensorDataType >, data_type_weights_initializer< TensorDataType > > | |
| std::unique_ptr< value_initializer< TensorDataType > > | clone () const |
| Return an exception-safe, memory-safe copy of this object. More... | |
Private Attributes | |
| std::vector< TensorDataType > | m_values |
Fill weights with values from a list.
The number of weight entries must exactly match the number of provided values.
Definition at line 125 of file initializer.hpp.
| using lbann::value_initializer< TensorDataType >::AbsDistMatrixType = El::AbstractDistMatrix<TensorDataType> |
The tensor type expected in this object.
Definition at line 134 of file initializer.hpp.
|
inline |
Definition at line 139 of file initializer.hpp.
|
override |
|
inlineoverride |
|
final |
Add initializer data to prototext.
|
private |
List of weights values.
Definition at line 150 of file initializer.hpp.