mlfmu: Example Python Package¶ Contents: mlfmu Features Installation Creating ML FMUs Create your own ML model Preparing for and using MLFMU Extended documentation Development Setup 1. Install uv 2. (Windows) Install Visual Studio Build Tools 3. Clone the repository 4. Install dependencies 5. (Optional) Activate the virtual environment 6. Install pre-commit hooks 7. Test that the installation works 8. Run an example 9. Use your new ML FMU 10. Compiling the documentation Meta Contributing Errors & fixes License & dependencies ML Model Onnx file The possible configuration of inputs and outputs of the model Usage in FMU Examples Model that only uses “pure” inputs and outputs Model using every input type Advanced Usage Editing generated FMU source Using class CLI Documentation mlfmu - CLI interface mlfmu options mlfmu build mlfmu codegen mlfmu compile API Reference mlfmu.api MlFmuBuilder MlFmuCommand MlFmuProcess run() mlfmu.types mlfmu.types.fmu_component mlfmu.types.onnx_model mlfmu.utils mlfmu.utils.builder mlfmu.utils.fmi_builder mlfmu.utils.interface mlfmu.utils.logging mlfmu.utils.path mlfmu.utils.signals mlfmu.utils.strings Changelog [1.0.2] Changed [1.0.1] Changed Added Removed GitHub workflows Dependencies Style Guide References Code Layout Line Breaks String Formatting Naming Conventions Named Arguments Commenting Type hints Docstrings Exceptions Imports Unit-tests And finally: It is a bad idea to use LICENSE LICENSE THIRD PARTY cppfmu Mozilla Public License Version 2.0 Indices and tables¶ Index Module Index Search Page