?? simplenet.h
字號:
#ifndef _SIMPLENET_H_
#define _SIMPLENET_H_
#include <stdlib.h>
#include <math.h>
class CSimpleNet {
public:
CSimpleNet();
~CSimpleNet();
void AlterWeights(float);
float Train(float, float, float);
float Run(float, float, float);
// Set/retrieve the weights
void SetWeights(float *);
void GetWeights(float *);
protected:
float m_fWeights[3][3];
inline float Sigmoid(float);
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -