Neural Network

Started on implementing neural network from NNFS. I've done ReLU and stopped at p.104. Softmax is not ready.
This commit is contained in:
2025-10-03 20:54:37 +02:00
parent a86410fda7
commit 88227a38fc
19 changed files with 626 additions and 15 deletions
+4 -1
View File
@@ -103,6 +103,7 @@ namespace numerics{
uint64_t threads = 1;
#endif
if (can_parallel && work > threads * 4ull) {
inplace_transpose_square_omp(A);
}else {
@@ -118,8 +119,10 @@ namespace numerics{
uint64_t work = A.rows() * A.cols();
if (rows==cols){
utils::Matrix<T> B(rows, cols, T{0});
utils::Matrix<T> B = A;
inplace_transpose_square_auto(B);
return B;
}