Example #1
0
        public virtual void CleanLearningRate()
        {
            if (SparseWeightsLearningRate != null)
            {
                SparseWeightsLearningRate.Clean();
            }

            if (DenseWeightsLearningRate != null)
            {
                DenseWeightsLearningRate.Clean();
            }
        }
Example #2
0
        public virtual void CleanForTraining()
        {
            if (SparseWeightsLearningRate != null)
            {
                SparseWeightsLearningRate.Clean();
                SparseWeightsDelta.Clean();
            }

            if (DenseWeightsLearningRate != null)
            {
                DenseWeightsLearningRate.Clean();
                DenseWeightsDelta.Clean();
            }
        }