26 #ifndef LBANN_EXECUTION_ALGORITHMS_LTFB_HPP_INCLUDED 27 #define LBANN_EXECUTION_ALGORITHMS_LTFB_HPP_INCLUDED 40 #include <google/protobuf/message.h> 84 std::unique_ptr<TrainingAlgorithm> local_training_algorithm,
85 std::unique_ptr<ltfb::MetaLearningStrategy> meta_learning_strategy,
95 ~LTFB() noexcept =
default;
102 std::string
get_type()
const final {
return "LTFB"; }
152 std::unique_ptr<lbann::LTFB>
153 lbann::make<lbann::LTFB>(google::protobuf::Message
const& msg);
155 #endif // LBANN_EXECUTION_ALGORITHMS_LTFB_HPP_INCLUDED
LTFB & operator=(LTFB const &)=delete
void apply(ExecutionContext &context, model &m, data_coordinator &dc, execution_mode mode) final
Apply the training algorithm to refine model weights.
std::unique_ptr< TrainingAlgorithm > m_local_algo
The training algorithm for trainer-local training.
std::unique_ptr< ltfb::MetaLearningStrategy > m_meta_learning_strategy
The strategy for postprocessing local training outputs.
std::string get_type() const final
Queries.
An implementation of the LTFB training algorithm.
Abstract base class for neural network models.
execution_mode
Neural network execution mode.
ltfb::LTFBTerminationCriteria m_termination_criteria
The LTFB stopping criteria.
ltfb::LTFBExecutionContext * do_get_new_execution_context() const final
Covariant return-friendly implementation of get_new_exection_context().
bool m_suppress_timer
Suppress timer output.
Base class for LBANN training_algorithms.
LTFB(std::string name, std::unique_ptr< TrainingAlgorithm > local_training_algorithm, std::unique_ptr< ltfb::MetaLearningStrategy > meta_learning_strategy, ltfb::LTFBTerminationCriteria stopping_criteria, bool suppress_timer)
Construct LTFB from its component pieces.