Test
This commit is contained in:
parent
339c3e81b1
commit
46601b3020
2
matrix.c
2
matrix.c
@ -46,7 +46,7 @@ MatrixType getMatrixAt(const Matrix matrix, unsigned int rowIdx, unsigned int co
|
|||||||
return matrix.buffer[rowIdx * matrix.cols + colIdx];
|
return matrix.buffer[rowIdx * matrix.cols + colIdx];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Addition (with broadcasting support for bias)
|
// Addition
|
||||||
Matrix add(const Matrix matrix1, const Matrix matrix2)
|
Matrix add(const Matrix matrix1, const Matrix matrix2)
|
||||||
{
|
{
|
||||||
Matrix result;
|
Matrix result;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user