예제 #1
0
 public NNLayer(string str, NNLayer pPrev /* =NULL */)
 {
     label        = str;
     m_pPrevLayer = pPrev;
     m_sigmoid    = new SigmoidFunction();
     m_Weights    = new NNWeightList();
     m_Neurons    = new NNNeuronList();
 }
예제 #2
0
 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();
 }