Imp.Training.FastSlow.Theta (Imp v0.5.0)

Copy Markdown View Source

Immutable policy parameter identity and lineage node.

Summary

Types

t()

@type t() :: %Imp.Training.FastSlow.Theta{
  cycle: non_neg_integer(),
  digest: String.t(),
  id: String.t(),
  parent_id: String.t() | nil,
  payload: Imp.Training.FastSlow.Config.json_value()
}

Functions

new!(cycle, payload, parent_id \\ nil)

@spec new!(non_neg_integer(), term(), String.t() | nil) :: t()

validate!(theta)

@spec validate!(t()) :: t()