.SMArtIInt.BaseClasses.BaseRecurrentNeuralNet

Information

Use this base class if you want to include a recurrent neural network in Modelica.

Please extend this model in your own model. After extending you have to

In continuous mode the historic values are generated by a delay. You could choose between the computational improved Clara-Delay and the delay in the Modelica-Standard-Library. If continuous is deactivated the model will create an event when reaching the sampling time - this should be avoided for performance reasons.

As tensorflow lite uses a flattened input array, you have to specify the flattening method. In the standard tensorflow setting you have to use the predefined option OldFirstInputSequential.

For an exemplaric usage the user can take a look at the model TF_PI_RNN which uses the block EvaluateStatefulRecurrentNeuralNet which extends from this base model.


Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos