Skip to content
heliaAOT
API Reference
HELIA HUB

OperatorAttributes

Machine-readable model

  • OperatorAttributesclassPer-operator attributes resolved from the operators attribute rules.
class

Per-operator attributes resolved from the operators attribute rules.

helia_aot/aot/operators/operator.py:209

OperatorAttributes()

Per-operator attributes resolved from the operators attribute rules.

A key the model does not declare is an error. An operator that takes attributes of its own declares them on a subclass and sets it as its ATTRIBUTES. A custom operator that reads keys it does not declare opts in to free-form attributes with a subclass declared @dataclass(config=ConfigDict(extra="allow")).

attribute

helia_aot/aot/operators/operator.py:232

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.