Skip to content
heliaAOT
HELIA HUB

OperatorAttributes

Machine-readable model

  • OperatorAttributesclassPer-operator placement attributes resolved from the attribute rulesets.
class

Per-operator placement attributes resolved from the attribute rulesets.

helia_aot/aot/operators/operator.py:38

OperatorAttributes()

Per-operator placement attributes resolved from the attribute rulesets.

Extra keys are retained (extra="allow") so an operator subclass can read attributes it defines itself without a schema change here.

attribute

helia_aot/aot/operators/operator.py:53

code_placement: MemoryType = Field(default=MemoryType.MRAM, description="Memory region for the operator's generated run code: ITCM or MRAM (default)")

Memory region for the operator’s generated run code. ITCM places _run and its shared kernel helpers in ITCM; MRAM (the default) leaves them in the toolchain’s .text.

attribute

helia_aot/aot/operators/operator.py:57

scratch_placement: MemoryType = Field(default=MemoryType.SRAM, description='Not implemented; use memory.tensors rules to place scratch tensors')

Not implemented; setting it logs a warning. Place scratch tensors with memory.tensors rules instead.