Starting on the model.h, but need to make layer structs and structs for loss and optimizers
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user