blockDense
Block for a dense neural network layer
Extends from Interfaces.Layer.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | numInputs (from Layer) | Specification of the inputs of the layer | |
| Integer | numNeurons (from Layer) | Number of neurons in the layer | |
| Real[:,:] | weights | Weight table of a fully connected layer | |
| Real[:] | bias | Bias table of a fully connected layer |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput[numInputs] | u (from Layer) | Connector of Real input signals | |
| Modelica.Blocks.Interfaces.RealOutput[numNeurons] | y (from Layer) | Connector of Real output signals |
Contents
| Name | Description |
|---|---|
| Activation function of the layer |