NNFS p.135
Sync public mirror / sync (push) Successful in 37s

Started on the iteration, not need to rewrite matadd.h and need to make matrandom.h.
This commit is contained in:
2025-10-07 19:06:33 +02:00
parent 66b3a4ee6b
commit c164d790db
14 changed files with 366 additions and 157 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ 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) {}