Пример #1
0
 //--------------------------------------------------
 private void AddLayer(string input)
 //--------------------------------------------------
 {
     if (int.TryParse(input, out int value))
     {
         LayerDefinitions.Add(new LayerDefinition {
             Neurons = value
         });
         ++LayerCount;
     }
 }
Пример #2
0
 public void AddLayer(ELayerID id, int priority, bool block)
 {
     LayerDefinitions.Add(new LayerDefinition(IDToInt(id), priority, block));
 }