コード例 #1
0
ファイル: OutputLayerBuilder.cs プロジェクト: forkbomb/pikto
        public OutputLayer Build(int initialClusterCount)
        {
            IList<OutputNeuron> neurons = new List<OutputNeuron>(initialClusterCount);
            for (int i = 0; i < initialClusterCount; ++i)
            {
                OutputNeuron neuron = outputNeuronFactory.Create();
                neurons.Add(neuron);
            }

            OutputLayer outputLayer = new OutputLayer(outputNeuronFactory, neurons);

            return outputLayer;
        }
コード例 #2
0
 public AttentionalSubsystem(OrientingSubsystem orientingSubsystem, InputLayer inputLayer, OutputLayer outputLayer)
 {
     this.orientingSubsystem = orientingSubsystem;
     this.inputLayer = inputLayer;
     this.outputLayer = outputLayer;
 }
コード例 #3
0
ファイル: OrientingSubsystem.cs プロジェクト: forkbomb/pikto
 public OrientingSubsystem(InputLayer inputLayer, OutputLayer outputLayer)
 {
     this.dataFromInputLayer = inputLayer;
     this.outputLayer = outputLayer;
 }