Skip to content
heliaAOT
API Reference
HELIA HUB

preparation

Optional pre-load compilation and inspection of a retained accelerator model.

Machine-readable model

  • PreparationResultclassVerified output of a pre-load backend.
  • ModelPreparerclassA pre-load backend with an optional check of the actual resolved module.
class

Verified output of a pre-load backend.

helia_aot/preparation.py:25

PreparationResult(
record: Path,
tflite: Path,
sha256: str,
source: Path | None,
input_ids: tuple[str, ...],
output_ids: tuple[str, ...],
accelerator_config: str | None = None,
) -> None

dataclass

Verified output of a pre-load backend.

class

A pre-load backend with an optional check of the actual resolved module.

helia_aot/preparation.py:48

ModelPreparer(
prepare: Callable[[Path, _Config, Path], PreparationResult],
validate: Callable[[PreparationResult, CodeGenContext], None] | None = None,
) -> None

dataclass

A pre-load backend with an optional check of the actual resolved module.