//-------------------------------------------------- private void AddLayer(string input) //-------------------------------------------------- { if (int.TryParse(input, out int value)) { LayerDefinitions.Add(new LayerDefinition { Neurons = value }); ++LayerCount; } }
public void AddLayer(ELayerID id, int priority, bool block) { LayerDefinitions.Add(new LayerDefinition(IDToInt(id), priority, block)); }