Endgültige Version

This commit is contained in:
Alexei Keller 2025-11-24 12:45:32 +01:00
parent 9af49e1ec2
commit 5909e80b88

View File

@ -17,7 +17,7 @@ static void prepareNeuralNetworkFile(const char *path, const NeuralNetwork nn)
const char *tag = "__info2_neural_network_file_format__"; const char *tag = "__info2_neural_network_file_format__";
fwrite(tag, 1, strlen(tag), file); fwrite(tag, 1, strlen(tag), file);
// Schreibe die Anzahl der Layer // Überprüfe, ob Layer vorhanden sind
if (nn.numberOfLayers == 0) if (nn.numberOfLayers == 0)
{ {
fclose(file); fclose(file);