public NNLayer(string str, NNLayer pPrev /* =NULL */) { label = str; m_pPrevLayer = pPrev; m_sigmoid = new SigmoidFunction(); m_Weights = new NNWeightList(); m_Neurons = new NNNeuronList(); }
bool m_bFloatingPointWarning; // flag for one-time warning (per layer) about potential floating point overflow public NNLayer() { label = ""; m_pPrevLayer = null; m_sigmoid = new SigmoidFunction(); m_Weights = new NNWeightList(); m_Neurons = new NNNeuronList(); Initialize(); }