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

Method do_export_proto

python/lbann/core/training_algorithm.py:181–187  ·  view source on GitHub ↗

Get a protobuf representation of this object.

(self)

Source from the content-addressed store, hash-verified

179 self.stopping = self.StoppingCriteria(metalearning_steps=metalearning_steps)
180
181 def do_export_proto(self):
182 """Get a protobuf representation of this object."""
183 params = AlgoProto.LTFB()
184 params.stopping_criteria.CopyFrom(self.stopping.export_proto())
185 params.meta_learning_strategy.Pack(self.metalearning.export_proto())
186 params.local_training_algorithm.CopyFrom(self.local_algo.export_proto())
187 return params
188
189class MutationStrategy:
190 """The strategy for mutation after a tournament in LTFB.

Callers

nothing calls this directly

Calls 2

LTFBMethod · 0.80
export_protoMethod · 0.45

Tested by

no test coverage detected