示例#1
0
 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
 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);
 }