max.hpp is done

This commit is contained in:
2026-07-29 21:28:29 +02:00
parent f5e0ee209b
commit e6e9fe1026
10 changed files with 2893 additions and 996 deletions
+5 -3
View File
@@ -49,13 +49,14 @@
#include <neural_network/model/model.hpp>
#include <math/mul.hpp>
#include <math/maximum.hpp>
#include <math/clip.hpp>
#include <neural_network/activation/activation_ReLU.hpp>
#include <tensor/generators/linspace.hpp>
#include <math/trigonometry/sin.hpp>
#include <neural_network/datasets/sine_data.hpp>
#include <neural_network/datasets/spiral_data.hpp>
#include <neural_network/datasets/vertical_data.hpp>
#include <math/exp.hpp>
#include <math.h>
@@ -721,9 +722,10 @@ int main(void) {
mymodel.forward(X);
panic::io::print_matrix(mymodel.outputs);
//panic::io::print_matrix(mymodel.outputs);
std::cout << panic::math::exp(15.5f) << std::endl;
std::cout << std::exp(15.5) << std::endl;
return 0;