Skip to content

module_handler

Classes

ModuleHandler

ModuleHandler(model: ModelT, subgraph: SubGraphT, operators: list[AotOperator], config: ConvertArgs)

Functions

generate_neuralspot_module
generate_neuralspot_module(save_path: Path)

Generates the NeuralSpot module files.

This method creates the module.mk file for the NeuralSpot module.

generate_zephyr_module
generate_zephyr_module(save_path: Path)

Generates the Zephyr module files.

This method creates the module.yaml and CMakeLists.txt files for the Zephyr module.

generate_source_code
generate_source_code(save_path: Path)

Generate the source code for the target module

Parameters:

  • save_path
    (Path) –

    Path to save the generated code.

Functions