Ergänzung "prepareNeuralNetworkFile"

This commit is contained in:
Nicholas Gloeckner 2025-11-03 15:26:25 +01:00
parent 0411787b38
commit 31a8aaf1c6

View File

@ -8,7 +8,18 @@
static void prepareNeuralNetworkFile(const char *path, const NeuralNetwork nn)
{
// TODO
FILE *quelle;
quelle = fopen("path", "w");
if(quelle == NULL)
return -1;
printf("Datei wurde erfolgreich geoeffnet!");
fprintf(quelle, "__info2_neural_network_file_format__");
fprintf(quelle, "--Testprotokoll--\n");
fclose(quelle);
//Ich bitte Sie um Feedback!!!
}
void test_loadModelReturnsCorrectNumberOfLayers(void)