generated from freudenreichan/info2Praktikum-NeuronalesNetz
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8456a7d5e | ||
|
|
05a29b50c6 | ||
|
|
8ef0d7688f | ||
|
|
32cf681534 |
No files matched your search
@@ -1,5 +1,7 @@
|
||||
mnist
|
||||
runTests
|
||||
runMatrixTests
|
||||
runImageInputTests
|
||||
runNeuralNetworkTests
|
||||
*.o
|
||||
*.exe
|
||||
@@ -42,7 +42,7 @@ Matrix createMatrix(unsigned int rows, unsigned int cols)
|
||||
}
|
||||
*/
|
||||
|
||||
Matrix createMatrix(size_t rows, size_t cols)
|
||||
Matrix createMatrix(size_t cols, size_t rows)
|
||||
{
|
||||
Matrix m;
|
||||
m.rows = rows;
|
||||
@@ -70,6 +70,7 @@ Matrix createMatrix(size_t rows, size_t cols)
|
||||
return m;
|
||||
}
|
||||
|
||||
|
||||
void clearMatrix(Matrix *matrix)
|
||||
{
|
||||
for (int i = 0; i < matrix->rows; i++) {
|
||||
|
||||
Reference in new issue
Block a user