Beispiel #1
0
 public TrainerCPU()
 {
     TrainOptimizer   = new Optimizers.RMSProp();
     RandomSeed       = 12;
     TrainTypeSetting = TrainType.Online;
     L1Regularization = 0;
     L2Regularization = 0;
 }
Beispiel #2
0
        public TrainerCPU(TrainType trainType)
        {
            TrainOptimizer   = new Optimizers.RMSProp();
            RandomSeed       = 12;
            TrainTypeSetting = trainType;
            BatchSize        = batchSize;
            random           = new Random(RandomSeed);

            L1Regularization = 0;
            L2Regularization = 0;
        }