Starting on the model.h, but need to make layer structs and structs for loss and optimizers

This commit is contained in:
2026-05-30 09:13:52 +02:00
parent cb65174cf4
commit edad247227
30 changed files with 1879 additions and 159 deletions
+22
View File
@@ -0,0 +1,22 @@
#pragma once
#include "./core/omp_config.h"
#include "detail/standard_deviation_serial.h"
namespace numerics{
// ---------------- Elementwise ----------------
template <typename T>
inline T standard_deviation(const utils::Vector<T>& v) {
return detail::standard_deviation_serial(v);
}
template <typename T>
inline T standard_deviation(const utils::Matrix<T>& A){
return detail::standard_deviation_serial(A);
}
}