mipcandy.frontend.prototype#

Module Contents#

Classes#

Functions#

API#

class mipcandy.frontend.prototype.Frontend(secrets: mipcandy.types.Settings)[source]#

Bases: object

Initialization

require_nonempty_secret(entry: str, *, required_type: type | None = None) mipcandy.types.Setting[source]#
on_experiment_created(experiment_id: str, trainer: str, model: str, note: str, num_params: float, num_macs: float, num_epochs: int, early_stop_tolerance: int) None[source]#
on_experiment_updated(experiment_id: str, epoch: int, metrics: dict[str, list[float]], early_stop_tolerance: int) None[source]#
on_experiment_completed(experiment_id: str) None[source]#
on_experiment_interrupted(experiment_id: str, error: Exception) None[source]#
mipcandy.frontend.prototype.create_hybrid_frontend(*frontends: mipcandy.frontend.prototype.Frontend) type[mipcandy.frontend.prototype.Frontend][source]#