NTNU-IHB / PythonFMU

A lightweight framework that enables the packaging of Python3.x code as co-simulation FMUs
MIT License
136 stars 38 forks source link

Added TensorFlow demo #171

Closed msteinsto closed 1 year ago

msteinsto commented 1 year ago

Closes #165. Adds a demo for wrapping a TensorFlow model as a FMU. Model approximates sin in the range between -2 pi and 2 pi. Addresses the frequently asked question to if and how machine learning models can be wrapped as an FMU

markaren commented 1 year ago

Since this is just example code, I'll go ahead and merge without further ado. Thanks.