.SMArtInt.BaseClasses.BaseGenericNeuralNet

Information

This is the most generic base class to include neural networks within Modelica. It can be used for any neural network. For easier handling the specialized versions BaseFeedForwardNeuralNet, BaseRecurrentNeuralNet and BaseStatefulRecurrentNeuralNet are available.

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

In order to include a neural network in Model, extend this base class in your own model. After extending you have to

The runInference model uses 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 the created neural network.


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