private TrainResilientPropagationOptimizerOpt(TrainType trainType, TrainAlgo trainAlgo) : base(trainType, trainAlgo) { }
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()); }
internal TrainOpt(TrainType trainType, TrainAlgo trainAlgo) { this.opt.Mode = (int)OptMode.Train; this.opt.Type = trainType.GetDescription(); this.opt.Algo = trainAlgo.GetDescription(); }