-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNodeActivationFunction.h
49 lines (35 loc) · 1.38 KB
/
NodeActivationFunction.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef NODEACTIVATIONFUNCTION_H
#define NODEACTIVATIONFUNCTION_H
#include "ANNLAB.h"
#include "Catalogue.h"
//#include "TanHFunction.h"
//#include "IdentityFunction.h"
using namespace std;
//namespace NodeActivationFunctions{
class NodeActivationFunction
{
public:
// Basic class constructors and destructors
//--------------------------------------------------------------------------
// Constructor
NodeActivationFunction();
// Destructor
~NodeActivationFunction();
// Copy constructor
NodeActivationFunction(const NodeActivationFunction& OriginalNodeActivationFunction);
// Copy assignment operator
NodeActivationFunction& operator= (const NodeActivationFunction&);
// Move constructor
NodeActivationFunction (NodeActivationFunction&& OriginalNodeActivationFunction);
// Move assignment operator
NodeActivationFunction& operator= (NodeActivationFunction&);
//--------------------------------------------------------------------------
//void PrintAvailibleFunctions();
//const char * GetFunctionVariety();
//void SetFunctionVariety(const char * NewFunctionVariety);
protected:
Catalogue SupportedActivationFunctions(vector<const char *> = {"TanH"});
//NodeActivationFunction FunctionVatiety; // Whether the function be tanh, radial basis, identity, etc...
};
//}
#endif // ACTIVATIONFUNCTION_H