exportToArduinoLibrary
Exports a model to an Arduino library.
Return
ArduinoLibraryResult containing information about the generated library
Parameters
The model to export (preferably a ComputeGraph)
Base path where the library directory will be created
Name of the Arduino library (defaults to model class name)
Fallback overload for models without a direct adapter.
Provide a forwardPass that executes exactly one forward run of the model with example inputs. The facade will:
Start a recording tape
Execute forwardPass
Convert the tape to a ComputeGraph
Delegate to exportGraphToArduinoLibrary
Return
ArduinoLibraryResult containing information about the generated library
Parameters
The model to export
Lambda that executes one forward pass of the model
Base path where the library directory will be created
Name of the Arduino library (defaults to model class name)