Backwards - ReLU & Dense Lasyer
Sync public mirror / sync (push) Successful in 27s

Made the backwards for dense layers and ReLU, but I think I soon need to refactor some code to make it all steamlined.
This commit is contained in:
2025-10-09 10:43:45 +02:00
parent c164d790db
commit 7fe6be9ba7
10 changed files with 171 additions and 44 deletions
-1
View File
@@ -23,7 +23,6 @@ namespace utils{
class Matrix{
public:
Matrix() : rows_(0), cols_(0), data_() {} // Default constructor
#include <random>
// Constructor to initialize matrix with rows × cols and a fill value
Matrix(uint64_t rows, uint64_t cols, const T& value = T())
: rows_(rows), cols_(cols), data_(rows * cols, value) {}