Esempio n. 1
0
 public virtual void Duplicate(Layer cloneLayer)
 {
     cloneLayer.LayerStroageMatrix    = LayerStroageMatrix.Clone();
     cloneLayer.LayerActivationMatrix = LayerActivationMatrix.Clone();
     cloneLayer.LayerErrorMatrix      = LayerErrorMatrix.Clone();
     cloneLayer.BiasMatrix            = BiasMatrix.Clone();
     cloneLayer.InterConnectionMatrix = InterConnectionMatrix.Clone();
 }
Esempio n. 2
0
        public void TickProgress(double momentum, int rowCount)
        {
            HideLayerList[CurrentTick + 1].LayerStroageMatrix = (Matrix <double>)LayerStroageMatrix.Clone();
            HideLayerList[CurrentTick].SendActivation();
            HideLayerList[CurrentTick + 1].CalculateActivation_Sigmoid(momentum);
            CurrentTick++;

            LayerStroageMatrix = DenseMatrix.Create(rowCount, UnitCount, 0);
        }
Esempio n. 3
0
 public void TickIn(double momentum, int rowCount)
 {
     HideLayerList[0].LayerStroageMatrix = (Matrix <double>)LayerStroageMatrix.Clone();
     HideLayerList[0].CalculateActivation_Sigmoid(momentum);
     LayerStroageMatrix = DenseMatrix.Create(rowCount, UnitCount, 0);
 }