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

Method __init__

python/lbann/core/training_algorithm.py:415–424  ·  view source on GitHub ↗
(self,
                 metric_name,
                 metric_strategy,
                 mutation_strategy = MutationStrategy(),
                 sample_size = 0)

Source from the content-addressed store, hash-verified

413 HIGHER_IS_BETTER: int = 1
414
415 def __init__(self,
416 metric_name,
417 metric_strategy,
418 mutation_strategy = MutationStrategy(),
419 sample_size = 0):
420
421 self.metric_name = metric_name
422 self.metric_strategy = metric_strategy
423 self.mutation_strategy = mutation_strategy
424 self.sample_size = sample_size
425
426 def export_proto(self):
427 """Get a protobuf representation of this object."""

Callers

nothing calls this directly

Calls 1

MutationStrategyClass · 0.70

Tested by

no test coverage detected