File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ The constructor of the `nn.DenseLayer` class is responsible for initializing the
78
78
Here is an example of creating 2 dense layers. Normally, the last dense layer is regarded as the output layer.
79
79
80
80
``` python
81
- hidden_layer = nn.DenseLayer(num_neurons = HL2_neurons , previous_layer = input_layer, activation_function = " relu" )
82
- output_layer = nn.DenseLayer(num_neurons = num_outputs, previous_layer = hidden_layer2 , activation_function = " sigmoid" )
81
+ hidden_layer = nn.DenseLayer(num_neurons = 50 , previous_layer = input_layer, activation_function = " relu" )
82
+ output_layer = nn.DenseLayer(num_neurons = num_outputs, previous_layer = hidden_layer , activation_function = " sigmoid" )
83
83
```
84
84
85
85
After the data is prepared and the network architecture is created, next is to train the network.
You can’t perform that action at this time.
0 commit comments