Пример #1
0
 public override void CoreClone(ref VariableBase _clone)
 {
     (_clone as ConvolutionVariable).OutScale      = OutScale;
     (_clone as ConvolutionVariable).KernelSize    = KernelSize;
     (_clone as ConvolutionVariable).KernelExpand  = KernelExpand;
     (_clone as ConvolutionVariable).OptimizerType = OptimizerType;
     (_clone as ConvolutionVariable).Rho           = Rho;
     (_clone as ConvolutionVariable).WeightBias    = WeightBias.Clone() as Components.RNdMatrix;
     (_clone as ConvolutionVariable).WeightKernel  = WeightKernel.Clone() as Components.RNdMatrix;
     if (OptimizerBiasBuffer != null)
     {
         (_clone as ConvolutionVariable).OptimizerBiasBuffer = new List <RNdMatrix>(OptimizerBiasBuffer);
     }
     if (OptimizerKernelBuffer != null)
     {
         (_clone as ConvolutionVariable).OptimizerKernelBuffer = new List <RNdMatrix>(OptimizerKernelBuffer);
     }
 }
Пример #2
0
 public override void CoreClone(ref VariableBase _clone)
 {
     (_clone as PoolingVariable).CompressSize = CompressSize;
     (_clone as PoolingVariable).ExpandSize   = ExpandSize;
 }
Пример #3
0
 public abstract void CoreClone(ref VariableBase _clone);
Пример #4
0
 public override void CoreClone(ref VariableBase _clone)
 {
 }
Пример #5
0
 public override void CoreClone(ref VariableBase _clone)
 {
     (_clone as ActivationVariable).ActivationType = ActivationType;
 }