Skip to content
heliaAOT
API Reference
HELIA HUB

OptimizationPlan

Machine-readable model

class

The normative optimization plan, <prefix>plan.json.

helia_aot/optimization/schema.py:1131

OptimizationPlan()

The normative optimization plan, <prefix>_plan.json.

attribute

tensors

Python

helia_aot/optimization/schema.py:1141

tensors: list[PlanTensor] = Field(default_factory=list, description='Every constant the operators read, by alias root, in the order of its first reader: its requested and effective residency, its memories, size and alignment. Empty in plans from heliaAOT 1.3 and earlier')
attribute

schedule

Python

helia_aot/optimization/schema.py:1148

schedule: PlanSchedule = Field(default_factory=lambda : ..., description='The transfer schedule (RFC 0005): read from the plan optimization.plan names, written with its derived fields; source none with no units when nothing streams, which plans from heliaAOT 1.3 and earlier omit')
attribute

applies

Python

helia_aot/optimization/schema.py:1155

applies: list[str] = Field(default_factory=list, description='The paths the plan applies beyond schedule, which is applied whether or not it is listed: a release reading the plan as input applies each and refuses one it does not apply, and a reader in record mode ignores the list. Each path is listed once. The conversion writes the list it applied, empty without a plan input. Absent in plans from heliaAOT 1.7 and earlier, which is the empty list', json_schema_extra={'uniqueItems': True, 'items': {'enum': list(APPLIED_PATHS)}})