Skip to content

Commit 0c966ba

Browse files
Update README.md
1 parent f67ba0c commit 0c966ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ While it takes just some **seconds** to train on the ESP32, the Arduino requires
3434
- ESP32: Fast training (~seconds).
3535
- Arduino: Slower training (~minutes or more).
3636

37+
## 🫶 Code considerations
38+
I tried to keep the code as simple and easy to understand as possible. The neural network is completely built using OOP principles, which means that everything is its own class. This is useful for structuring the model later.
39+
For the individual layers, I used the basic principle of inheritance, where I have a BaseLayer class and each layer inherits from it. The BaseLayer also implements some functions, like Train and FeedForward, as well as pointers to the weights, values, biases, and errors. In my inherited classes, I only have to override these functions with the training logic and variable implementations. This is very useful when adding new layers.
40+
3741
## 🏗️ How to Use
3842

3943
1. Clone this repository and open the project in your preferred environment for ESP32 or Arduino.

0 commit comments

Comments
 (0)