Skip to content

Commit 5c42ab9

Browse files
authored
Update README.md
1 parent 48f1586 commit 5c42ab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ The constructor of the `nn.DenseLayer` class is responsible for initializing the
7878
Here is an example of creating 2 dense layers. Normally, the last dense layer is regarded as the output layer.
7979

8080
```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")
8383
```
8484

8585
After the data is prepared and the network architecture is created, next is to train the network.

0 commit comments

Comments
 (0)