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