ModuleArgs
PythonModule configuration for the conversion process.
ModuleArgs()Module configuration for the conversion process.
path
Pythonpath: 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".
type
Pythontype: ModuleType = Field(default=ModuleType.neuralspot, description='Module type')Type of the module (e.g., neuralspot, zephyr, cmake, nsx, cmsis_pack). Defaults to neuralspot.
name
Pythonname: ValidModuleNameType = Field(default='helia_aot_nn', description='Module name')Name of the module. Defaults to “helia_aot_nn”.
prefix
Pythonprefix: ValidCVarNameType = Field(default='aot', description='Prefix added to sources for unique namespace')Prefix added to sources for unique namespace. Defaults to “aot”.
schedule
Pythonschedule: 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.