cppbasedann/main.cpp
2022-01-02 02:33:35 +01:00

31 lines
646 B
C++

#include <iostream>
#include <forward_list>
//#include <cmath>
#include "myclasses.h"
#include <vector>
using namespace std;
int main(int argc, char *argv[])
{
Tools::activate_randomness();
cout << "Bonjour et bienvenu" << endl;
/*Neuron n0(3,SIGMOID);
Neuron n1(3,RELU);n1.set_output(1.0);
Neuron n2(3,RELU);n2.set_output(2.0);
Neuron n3(3,RELU);n3.set_output(-3.0);
forward_list<Neuron> fl;
fl.push_front(n1);fl.push_front(n2);fl.push_front(n3);
forward_list<Neuron>::iterator it(fl.begin());
n0.activate(it);
cout << "is = " << n0.get_output() << endl;*/
Network(4, 5);
return 0;
}