Imp.Optimizer.TrainingResult (Imp v0.5.0)

Copy Markdown View Source

Result of a training optimizer executed through Imp.train/4.

job is the singular provider job when exactly one job represents the result. jobs is the exhaustive list for optimizers that may train multiple independent student models; in that case job is nil rather than an arbitrary representative.

Summary

Types

status()

@type status() :: :job_created | :completed

t()

@type t() :: %Imp.Optimizer.TrainingResult{
  job: term() | nil,
  jobs: [term()],
  metadata: map(),
  program: struct(),
  status: status()
}