MCPcopy Create free account
hub / github.com/LBANN/lbann / RegularizedEvolution

Method RegularizedEvolution

src/execution_algorithms/ltfb/regularized_evolution.cpp:58–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56// RegularizedEvolution Implementation
57
58RegularizedEvolution::RegularizedEvolution(
59 std::string metric_name,
60 metric_strategy winner_strategy,
61 std::unique_ptr<MutationStrategy> mutate_algo,
62 int sample_size)
63 : m_mutate_algo{std::move(mutate_algo)},
64 m_metric_name{std::move(metric_name)},
65 m_metric_strategy{std::move(winner_strategy)},
66 m_sample_size{std::move(sample_size)}
67{}
68
69RegularizedEvolution::RegularizedEvolution(RegularizedEvolution const& other)
70 : m_mutate_algo{other.m_mutate_algo->clone()},

Callers 1

export_protoMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected