internal override void ConnectToInput(NetworkLayer inputLayer)
        {
            _inputLayer = inputLayer;

            OutputDepth  = _inputLayer.OutputDepth;
            OutputHeight = _inputLayer.OutputHeight / _stride;
            OutputWidth  = _inputLayer.OutputWidth / _stride;
        }
        internal override void ConnectToInput(NetworkLayer inputLayer)
        {
            _inputLayer = inputLayer;

            foreach (var neuron in _neurons)
            {
                neuron.ConnectToInput(_inputLayer);
            }
        }
예제 #3
0
        internal override void ConnectToInput(NetworkLayer inputLayer)
        {
            _inputLayer = inputLayer;

            OutputHeight = _inputLayer.OutputHeight - _kernelSize + 1;
            OutputWidth  = _inputLayer.OutputWidth - _kernelSize + 1;

            foreach (var n in _neurons)
            {
                n.ConnectToInput(_inputLayer);
            }
            _findWeightIndexes();
        }
예제 #4
0
 internal abstract void ConnectToInput(NetworkLayer inputLayer);