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

            public ActivationLayer(string name, BaseActivationFunction actFunc) : base(name, actFunc)
            {
                // Constructor for Activation Layer
                this.layerType = "Activation-Layer";
            }