|
LBANN
0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
|
#include "lbann/execution_algorithms/training_algorithm.hpp"#include "lbann/utils/factory.hpp"#include "lbann/utils/factory_error_policies.hpp"#include "lbann/utils/make_abstract.hpp"#include <google/protobuf/message.h>#include <memory>#include <string>Go to the source code of this file.
Namespaces | |
| lbann | |
Typedefs | |
| using | lbann::TrainingAlgorithmFactory = generic_factory< TrainingAlgorithm, std::string, generate_builder_type< TrainingAlgorithm, google::protobuf::Message const & > > |
| Factory for constructing training algorithms from protobuf messages. More... | |
| using | lbann::TrainingAlgorithmBuilder = typename TrainingAlgorithmFactory::builder_type |
| The builder type used to create a new training algorithm. More... | |
| using | lbann::TrainingAlgorithmKey = typename TrainingAlgorithmFactory::id_type |
| The trainining algorithm factory key. More... | |
Functions | |
| void | lbann::register_new_training_algorithm (TrainingAlgorithmKey key, TrainingAlgorithmBuilder builder) |
| Register a new training algorithm with the default factory. More... | |
| template<> | |
| std::unique_ptr< lbann::TrainingAlgorithm > | lbann::make_abstract< lbann::TrainingAlgorithm > (google::protobuf::Message const ¶ms) |
| Create a new training_algorithm instance. More... | |
| std::unique_ptr<lbann::TrainingAlgorithm> lbann::make_abstract< lbann::TrainingAlgorithm > | ( | google::protobuf::Message const & | params | ) |
Create a new training_algorithm instance.
| [in] | params | A protobuf message describing the algorithm. |