⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 layer.h

📁 多层神经网络范例 http://www.codeproject.com/cpp/MLP.asp?df=100&forumid=148477&exp=0&select=1141594#xx114159
💻 H
字号:
#pragma once
#include "Neuron.h"
static const int LEN = 100;
struct Samples
{
	double samples[LEN];
	int nLenght;
};

class Layer
{
public:
	~Layer(void);
	CList<Neuron*> neurons;
	int size;
	CString name;
	Layer(CString strLbl,int size);
	Neuron* getNeuron(int i);
	void computeOutputs();
	void computeBackpropDeltas(Samples s); // for output neurons
	void computeBackpropDeltas(); // for hidden neurons
	void computeWeights();
	CString print();
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -