Exemplo n.º 1
0
        protected LayeredNet(LayeredNet <T> other, int batchSize, int seqLength)
        {
            BatchSize  = batchSize;
            SeqLen     = seqLength;
            LayersList = other.LayersList.Select(x => x.Clone()).ToList();

            foreach (var layer in LayersList)
            {
                layer.Initialize(batchSize, seqLength);
            }
        }
Exemplo n.º 2
0
 protected LayeredNet(LayeredNet <T> other)
 {
     BatchSize  = other.BatchSize;
     SeqLen     = other.SeqLen;
     LayersList = other.LayersList.Select(x => x.Clone()).ToList();
 }