mnist Ausführbar
This commit is contained in:
parent
a3fa8f0892
commit
e98bc885d9
@ -7,7 +7,7 @@
|
||||
#define FILE_HEADER_STRING "__info2_image_file_format__"
|
||||
|
||||
// TODO Implementieren Sie geeignete Hilfsfunktionen für das Lesen der Bildserie aus einer Datei
|
||||
static void einzelBild(unsigned char *px_ls, FILE *file, GrayScaleImageSeries *series, unsigned short int breite, unsigned short int hoehe, unsigned char bildnummer){
|
||||
static void einzelBild(unsigned char *px_ls, FILE *file, GrayScaleImageSeries *series, unsigned short int breite, unsigned short int hoehe, unsigned int bildnummer){
|
||||
GrayScaleImage bild;
|
||||
bild.height = hoehe;
|
||||
bild.width = breite;
|
||||
|
||||
1
matrix.c
1
matrix.c
@ -93,7 +93,6 @@ Matrix multiply(const Matrix matrix1, const Matrix matrix2)
|
||||
output.rows = matrix1.rows;
|
||||
output.cols = matrix2.cols;
|
||||
output.buffer = malloc(sizeof(MatrixType)*output.rows*output.cols);
|
||||
memset(output.buffer, 0 ,output.rows*output.cols);
|
||||
for (int spalte2=0;spalte2<output.cols;spalte2++){
|
||||
for (int zeile1=0;zeile1<matrix1.rows;zeile1++){
|
||||
for (int zeile2=0;zeile2<matrix2.rows;zeile2++){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user