Get a protobuf representation of this object.
(self)
| 424 | self.sample_size = sample_size |
| 425 | |
| 426 | def export_proto(self): |
| 427 | """Get a protobuf representation of this object.""" |
| 428 | |
| 429 | msg = AlgoProto.RegularizedEvolution() |
| 430 | |
| 431 | msg.metric_name = self.metric_name |
| 432 | msg.metric_strategy = self.metric_strategy |
| 433 | msg.mutation_strategy.CopyFrom(self.mutation_strategy.export_proto()) |
| 434 | msg.sample_size = self.sample_size |
| 435 | return msg |
| 436 | |
| 437 | class KFAC(TrainingAlgorithm): |
| 438 | """Kronecker-Factored Approximate Curvature algorithm. |
nothing calls this directly
no test coverage detected