Initialize Method
Functions
initialize(self, units, activation, input_shape)
Initialize the attributes of the dense layer.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
units |
int
|
The number of neurons in the layer. |
required |
activation |
str or None
|
The activation function to use. |
required |
input_shape |
int or tuple
|
The shape of the input to this layer. |
required |