コード例 #1
0
 private TrainResilientPropagationOptimizerOpt(TrainType trainType, TrainAlgo trainAlgo)
     : base(trainType, trainAlgo)
 {
 }
コード例 #2
0
        public static void AssertDefaultTrains(this Opt testSubject, TrainType trainType, TrainAlgo trainAlgo)
        {
            AssertDefaults(testSubject);
            testSubject.Mode.Should().Be((int)OptMode.Train);

            testSubject.Type.Should().Be(trainType.GetDescription());
            testSubject.Algo.Should().Be(trainAlgo.GetDescription());
        }
コード例 #3
0
 internal TrainOpt(TrainType trainType, TrainAlgo trainAlgo)
 {
     this.opt.Mode = (int)OptMode.Train;
     this.opt.Type = trainType.GetDescription();
     this.opt.Algo = trainAlgo.GetDescription();
 }