Ergänzung "prepareNeuralNetworkFile"
This commit is contained in:
parent
0411787b38
commit
31a8aaf1c6
@ -8,7 +8,18 @@
|
|||||||
|
|
||||||
static void prepareNeuralNetworkFile(const char *path, const NeuralNetwork nn)
|
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)
|
void test_loadModelReturnsCorrectNumberOfLayers(void)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user