Packages

CrucibleFramework: A thin orchestration layer for experiment pipelines. Provides pipeline execution, stage behaviour, and optional persistence.

Current section

Files

Jump to
crucible_framework lib crucible ir backend_ref.ex
Raw

lib/crucible/ir/backend_ref.ex

defmodule Crucible.IR.BackendRef do
@derive {Jason.Encoder, only: [:id, :profile, :options]}
@moduledoc """
Logical reference to a training/inference backend.
`id` is resolved to a module implementing `Crucible.Backend` via configuration.
"""
@type t :: %__MODULE__{
id: atom(),
profile: atom() | String.t() | nil,
options: map()
}
@enforce_keys [:id]
defstruct [
:id,
:profile,
options: %{}
]
end