public BaseLayer(string name, BaseActivationFunction actFunc) { // Constructor Method for BaseLayer Object this.layerName = name; this.actFunc = actFunc; }
public DenseLayer(string name, BaseActivationFunction actFunc, int neurons) : base(name, actFunc) { // Constructor Method for Dense layer this.layerType = "Dense-Layer"; this.neurons = neurons; }
// Activation Function Layer public ActivationLayer(string name, BaseActivationFunction actFunc) : base(name, actFunc) { // Constructor for Activation Layer this.layerType = "Activation-Layer"; }