.SMArtIInt.Blocks.EvaluateGenericNeuralNetwork

Information

This is the most generic block to include neural networks within Modelica. It extends the BaseGenericNeuralNet and provides generic in- and outputs. It can be used for any neural network. For easier handling the specialized versions EvaluateFeedForwardNeuralNet, EvaluateRecurrentNeuralNet and EvaluateStatefulRecurrentNeuralNet are available.

This most likely use case of this model is with a multi-layer perceptron neural network.

In order to include a neural network in Model, place this block in your own model. You have to

The runInference model uses a flattened vectors for input and output. The total number of elements equals the product of all input or output sizes, respectively. The user has to connect the defined input and output to the flattened vectors in the same order as they are used within created neural network.


Generated at 2024-06-10T11:08:19Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos