ActivationFunctionSigmoidBoundedFast class
Fast Pseudo-Sigmoid Activation Function Bounded (SIMD optimized).
- Inheritance
-
- Object
- ActivationFunction<
double, Float32x4> - ActivationFunctionFloat32x4
- ActivationFunctionSigmoidBoundedFast
Constructors
- ActivationFunctionSigmoidBoundedFast({double scale = 6, double initialWeightScale = 2})
Properties
- entryFlatSpot → Float32x4
-
finalinherited
- flatSpot → double
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialWeightBiasValue → double
-
finalinherited
- initialWeightScale → double
-
finalinherited
- lowerLimit → double
-
final
- name → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
final
-
scope
→ List<
ActivationFunctionScope> -
Scopes where this activation function should be used.
no setteroverride
- upperLimit → double
-
final
Methods
-
activate(
double x) → double -
The activation function.
override
-
activateEntry(
Float32x4 entry) → Float32x4 -
The activation function for an entry (SIMD).
override
-
createRandomWeight(
Random random, {double? scale}) → double -
Generates a random weight compatible with this activation function.
inherited
-
createRandomWeights(
Random random, int length, {double? scale}) → List< double> -
Generates a List of random weights compatible with this activation function.
inherited
-
derivative(
double o) → double -
The derivative function.
override
-
derivativeEntry(
Float32x4 entry) → Float32x4 -
The derivative function for an entry (SIMD).
override
-
derivativeEntryWithFlatSpot(
Float32x4 entry) → Float32x4 -
The derivative function for an entry with
flat spot
(SIMD).override -
derivativeWithFlatSpot(
double o) → double -
The derivative function with
flat spot
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{bool withIndent = false}) → String -
Converts to an encoded JSON.
inherited
-
toJsonMap(
) → Map< String, dynamic> -
Converts to a JSON Map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited