max.hpp is done
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user