ActivationFunctionSigmoidBoundedFast constructor

ActivationFunctionSigmoidBoundedFast({
  1. double scale = 6,
  2. double initialWeightScale = 2,
})

Implementation

ActivationFunctionSigmoidBoundedFast(
    {this.scale = 6, double initialWeightScale = 2})
    : lowerLimit = -scale,
      _entryLowerLimit = Float32x4.splat(-scale),
      upperLimit = scale,
      _entryUpperLimit = Float32x4.splat(scale),
      super('SigmoidBoundedFast', initialWeightScale);