Пример #1
0
        /*
         * Observers not implemented
         *
        public override MyOutputView CreateView()
        {
            throw new NotImplementedException();
            //return new MyWeightView(m_network, this, 0xCCAACCCC);
        }*/
        public MyMirrorNeuronLayer(MyAbstractFeedForwardNode network, MyNeuronLayer originalLayer, float[] initialWeights = null)
            : base(network)
        {
            m_originalLayer = originalLayer;

            m_initialWeights = initialWeights;
        }
        /*
         * Observers not implemented
         *
         * public override MyOutputView CreateView()
         * {
         *  throw new NotImplementedException();
         *  //return new MyWeightView(m_network, this, 0xCCAACCCC);
         * }*/


        public MyMirrorNeuronLayer(MyAbstractFeedForwardNode network, MyNeuronLayer originalLayer, float[] initialWeights = null)
            : base(network)
        {
            m_originalLayer = originalLayer;

            m_initialWeights = initialWeights;
        }