HolyFuckItsAlive #13

Merged
jastornig merged 105 commits from Delta-Error-Test into main 2023-09-23 22:27:54 +02:00
Showing only changes of commit 85ad120d0a - Show all commits

View file

@ -147,7 +147,10 @@ Matrix* predict(Neural_Network* network, Matrix* image_data) {
//void batch_train_network(Neural_Network* network, Image** images, int size); //void batch_train_network(Neural_Network* network, Image** images, int size);
double relu(double input) { double relu(double input) {
return 1.0; if (input < 0){
return 0.0;
}
return input;
//TODO: relu formel //TODO: relu formel
} }