relu placeholder, softmax und predict

This commit is contained in:
Tocuro 2023-09-21 08:56:47 +02:00
parent 614df3c4a1
commit 3eaf2ae810
2 changed files with 64 additions and 33 deletions

View file

@ -35,8 +35,11 @@ void save_network(Neural_Network* network);
Neural_Network* load_network(char* file);
double predict_images(Neural_Network* network, Image** images, int amount);
Matrix* predict_image(Neural_Network* network, Image*);
Matrix* predict_image(Neural_Network* network, Image* image);
Matrix* predict(Neural_Network* network, Matrix* image_data);
void train_network(Neural_Network* network, Matrix* input, Matrix* output);
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);
Matrix* softmax(Matrix* matrix);