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

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

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