コード例 #1
0
ファイル: MarkingStep.cs プロジェクト: zkrunfast2015/LeNet
 public MarkingStep(IList <Step> upstream, LeNetConfiguration configuration)
     : base(configuration.ClassCount, upstream, true)
 {
     if (SizeOf(upstream) * upstream.Count != LeNetNetwork.OutputFeedForwardNeurons)
     {
         throw new ArgumentException();
     }
     weights = new MarkingWeights(configuration);
 }
コード例 #2
0
ファイル: MarkingStep.cs プロジェクト: patrickmeiring/LeNet
 public MarkingStep(IList<Step> upstream, LeNetConfiguration configuration)
     : base(configuration.ClassCount, upstream, true)
 {
     if (SizeOf(upstream) * upstream.Count != LeNetNetwork.OutputFeedForwardNeurons) throw new ArgumentException();
     weights = new MarkingWeights(configuration);
 }