public virtual void ShallowCopyWeightTo(SimpleLayer destLayer) { destLayer.DenseWeights = DenseWeights; destLayer.DenseWeightsDelta = DenseWeightsDelta; destLayer.DenseWeightsLearningRate = DenseWeightsLearningRate; destLayer.DenseFeatureSize = DenseFeatureSize; destLayer.SparseWeights = SparseWeights; destLayer.SparseWeightsDelta = SparseWeightsDelta; destLayer.SparseWeightsLearningRate = SparseWeightsLearningRate; destLayer.SparseFeatureSize = SparseFeatureSize; destLayer.InitializeInternalTrainingParameters(); }