Example #1
0
        public override Value PassForward(Value value)
        {
            _featureMaps.ForEach((k, i, j) =>
                                 _featureMaps[k, i, j] = _activator.CalculateValue(value.Multi[k, i, j]));

            return(new MultiValue(_featureMaps));
        }
Example #2
0
 public void ComputeOutput(double weightedSum)
 {
     Output = _activator.CalculateValue(weightedSum + Bias);
 }