Matrix Tests und Imageinput Tests check

This commit is contained in:
Niklas Popp 2025-11-26 21:12:04 +01:00
parent b2335caebb
commit 262bd850b1
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include <math.h>
#include <string.h>
#include "neuralNetwork.h"
#include "matrix.h"
#define BUFFER_SIZE 100
#define FILE_HEADER_STRING "__info2_neural_network_file_format__"

View File

@ -4,8 +4,11 @@
#include <math.h>
#include "unity.h"
#include "neuralNetwork.h"
#include "matrix.h"
#define NN_HEADER "__info2_neural_network_file_format__\n"
//das auch zu machen
static void writeMatrix(FILE *file, const Matrix *m) {
unsigned short rows = (unsigned short)m->rows;