Fertisch aber HolladieWaldfee
This commit is contained in:
+3
-1
@@ -131,4 +131,6 @@ void clearSeries(GrayScaleImageSeries *series)
|
|||||||
free(series->labels);
|
free(series->labels);
|
||||||
free(series);
|
free(series);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
|
|||||||
@@ -21,3 +21,5 @@ GrayScaleImageSeries *readImages(const char *path);
|
|||||||
void clearSeries(GrayScaleImageSeries *series);
|
void clearSeries(GrayScaleImageSeries *series);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
+3
-1
@@ -169,4 +169,6 @@ int main()
|
|||||||
RUN_TEST(test_read_GrayScale_Pixel);
|
RUN_TEST(test_read_GrayScale_Pixel);
|
||||||
|
|
||||||
return UNITY_END();
|
return UNITY_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
@@ -65,4 +65,6 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
return exitCode;
|
return exitCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
@@ -64,3 +64,4 @@ else
|
|||||||
rm -f *.o mnist runMatrixTests runNeuralNetworkTests runImageInputTests
|
rm -f *.o mnist runMatrixTests runNeuralNetworkTests runImageInputTests
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
|
|||||||
@@ -175,4 +175,7 @@ Matrix multiply(const Matrix matrix1, const Matrix matrix2)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
@@ -25,3 +25,6 @@ Matrix multiply(const Matrix matrix1, const Matrix matrix2);
|
|||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
+4
-1
@@ -193,4 +193,7 @@ int main()
|
|||||||
RUN_TEST(test_setMatrixAtFailsOnIndicesOutOfRange);
|
RUN_TEST(test_setMatrixAtFailsOnIndicesOutOfRange);
|
||||||
|
|
||||||
return UNITY_END();
|
return UNITY_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
@@ -170,4 +170,5 @@ void showMnist(unsigned int windowWidth, unsigned int windowHeight, const GraySc
|
|||||||
free(container);
|
free(container);
|
||||||
free(navigationLabel);
|
free(navigationLabel);
|
||||||
free(predictionLabel);
|
free(predictionLabel);
|
||||||
}
|
}
|
||||||
|
//HolladieWaldfee
|
||||||
@@ -5,4 +5,6 @@
|
|||||||
|
|
||||||
void showMnist(unsigned int windowWidth, unsigned int windowHeight, const GrayScaleImageSeries *series, const unsigned char predictions[]);
|
void showMnist(unsigned int windowWidth, unsigned int windowHeight, const GrayScaleImageSeries *series, const unsigned char predictions[]);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
+3
-1
@@ -265,4 +265,6 @@ void clearModel(NeuralNetwork *model)
|
|||||||
model->layers = NULL;
|
model->layers = NULL;
|
||||||
model->numberOfLayers = 0;
|
model->numberOfLayers = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
@@ -24,3 +24,6 @@ unsigned char *predict(const NeuralNetwork model, const GrayScaleImage images[],
|
|||||||
void clearModel(NeuralNetwork *model);
|
void clearModel(NeuralNetwork *model);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
@@ -280,4 +280,7 @@ int main()
|
|||||||
RUN_TEST(test_predictReturnsCorrectLabels);
|
RUN_TEST(test_predictReturnsCorrectLabels);
|
||||||
|
|
||||||
return UNITY_END();
|
return UNITY_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
@@ -8,3 +8,6 @@ typedef int (*UnitTestType)(void);
|
|||||||
#define RUN_UNIT_TEST(fct) printf("%80s: %d\n", #fct, fct())
|
#define RUN_UNIT_TEST(fct) printf("%80s: %d\n", #fct, fct())
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
//HolladieWaldfee
|
||||||
Reference in New Issue
Block a user