Skip to content
heliaAOT
HELIA HUB

ModuleArgs

Machine-readable model

  • ModuleArgsclassModule configuration for the conversion process.
class

Module configuration for the conversion process.

helia_aot/cli/defines.py:71

ModuleArgs()

Module configuration for the conversion process.

attribute

path

Python

helia_aot/cli/defines.py:89

path: Path = Field(..., description="Output path for the generated module. Use a directory for an unpacked module, a '.zip' suffix for a generic zip archive, or a '.pack' suffix for an Open-CMSIS-Pack archive (requires module.type=cmsis_pack).", default_factory=lambda : ...)

Output path for the generated module. Use a directory for an unpacked module, a .zip suffix for a generic zip archive, or a .pack suffix for an Open-CMSIS-Pack archive (requires module.type=cmsis_pack). Defaults to "output.zip".

attribute

type

Python

helia_aot/cli/defines.py:99

type: ModuleType = Field(default=ModuleType.neuralspot, description='Module type')

Type of the module (e.g., neuralspot, zephyr, cmake, nsx, cmsis_pack). Defaults to neuralspot.

attribute

name

Python

helia_aot/cli/defines.py:100

name: ValidModuleNameType = Field(default='helia_aot_nn', description='Module name')

Name of the module. Defaults to “helia_aot_nn”.

attribute

prefix

Python

helia_aot/cli/defines.py:101

prefix: ValidCVarNameType = Field(default='aot', description='Prefix added to sources for unique namespace')

Prefix added to sources for unique namespace. Defaults to “aot”.

attribute

schedule

Python

helia_aot/cli/defines.py:102

schedule: ScheduleMode = Field(default=ScheduleMode.table, description="Operator dispatch shape in the generated model: 'table' (default) keeps the runtime function-pointer table and per-node callback seam; 'static' emits straight-line direct calls (no table, no loop, no indirect dispatch).")

Operator dispatch shape emitted into <prefix>_model.c. table (default) keeps the runtime function-pointer table and per-node callback seam; static emits straight-line direct calls. Defaults to table.