LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
lbann::ltfb Namespace Reference

Classes

class  CheckpointBinary
 
class  CheckpointFile
 See lbann::callbacks::ltfb::communication_algorithm::checkpoint_file. More...
 
class  HybridMutation
 
class  LTFBExecutionContext
 
class  LTFBTerminationCriteria
 
class  MetaLearningStrategy
 Base class describing a family of meta-learning methods. More...
 
class  MutationStrategy
 
class  NullMutation
 
class  RandomPairwiseExchange
 The original LTFB algorithm. More...
 
class  RegularizedEvolution
 
class  ReplaceActivation
 
class  ReplaceConvolution
 
class  SendRecvWeights
 Exchange model weights directly using sendrecvs. More...
 
class  TruncationSelectionExchange
 

Typedefs

using MetaLearningStrategyFactory = generic_factory< MetaLearningStrategy, std::string, generate_builder_type< MetaLearningStrategy, google::protobuf::Message const & > >
 A factory for constructing MetaLearningStrategy objects from Protobuf messages. More...
 
using MetaLearningStrategyKey = MetaLearningStrategyFactory::id_type
 
using MetaLearningStrategyBuilder = MetaLearningStrategyFactory::builder_type
 

Functions

static std::string pack (model const &m)
 
static void send_string (lbann_comm const &comm, std::string const &str, int destination_trainer)
 
static std::string recv_string (lbann_comm const &comm, int src_trainer)
 
static void unpack (model &m, std::string const &str)
 
static void restore_model_weights (model &m, std::unordered_map< std::string, std::unique_ptr< weights >> &restore_weights)
 
static std::string sendrecv_string (lbann_comm const &c, std::string const &src, El::Int partner_trainer)
 
template<typename T >
static void exchange (lbann_comm const &c, T &object, El::Int partner_trainer)
 
void register_new_metalearning_strategy (MetaLearningStrategyKey key, MetaLearningStrategyBuilder builder)
 
void unregister_metalearning_strategy (MetaLearningStrategyKey const &key)
 

Typedef Documentation

◆ MetaLearningStrategyBuilder

using lbann::ltfb::MetaLearningStrategyBuilder = typedef MetaLearningStrategyFactory::builder_type

Definition at line 92 of file meta_learning_strategy.hpp.

◆ MetaLearningStrategyFactory

A factory for constructing MetaLearningStrategy objects from Protobuf messages.

Definition at line 89 of file meta_learning_strategy.hpp.

◆ MetaLearningStrategyKey

using lbann::ltfb::MetaLearningStrategyKey = typedef MetaLearningStrategyFactory::id_type

Definition at line 91 of file meta_learning_strategy.hpp.

Function Documentation

◆ exchange()

template<typename T >
static void lbann::ltfb::exchange ( lbann_comm const &  c,
T &  object,
El::Int  partner_trainer 
)
inlinestatic

Definition at line 165 of file checkpoint_common.hpp.

Here is the call graph for this function:

◆ pack()

static std::string lbann::ltfb::pack ( model const &  m)
inlinestatic

Definition at line 38 of file checkpoint_common.hpp.

Here is the call graph for this function:

◆ recv_string()

static std::string lbann::ltfb::recv_string ( lbann_comm const &  comm,
int  src_trainer 
)
inlinestatic

Definition at line 62 of file checkpoint_common.hpp.

Here is the call graph for this function:

◆ register_new_metalearning_strategy()

void lbann::ltfb::register_new_metalearning_strategy ( MetaLearningStrategyKey  key,
MetaLearningStrategyBuilder  builder 
)

◆ restore_model_weights()

static void lbann::ltfb::restore_model_weights ( model m,
std::unordered_map< std::string, std::unique_ptr< weights >> &  restore_weights 
)
inlinestatic

Definition at line 82 of file checkpoint_common.hpp.

Here is the call graph for this function:

◆ send_string()

static void lbann::ltfb::send_string ( lbann_comm const &  comm,
std::string const &  str,
int  destination_trainer 
)
inlinestatic

Definition at line 49 of file checkpoint_common.hpp.

Here is the call graph for this function:

◆ sendrecv_string()

static std::string lbann::ltfb::sendrecv_string ( lbann_comm const &  c,
std::string const &  src,
El::Int  partner_trainer 
)
inlinestatic

Definition at line 101 of file checkpoint_common.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unpack()

static void lbann::ltfb::unpack ( model m,
std::string const &  str 
)
inlinestatic

Definition at line 73 of file checkpoint_common.hpp.

Here is the call graph for this function:

◆ unregister_metalearning_strategy()

void lbann::ltfb::unregister_metalearning_strategy ( MetaLearningStrategyKey const &  key)