ActivationFunctionFloat32x4 class abstract

Base class for SIMD optimized functions using Float32x4.

Inheritance
Implementers

Constructors

ActivationFunctionFloat32x4(String name, double initialWeightScale, {double initialWeightBiasValue = 0.0, double flatSpot = 0.0001})

Properties

entryFlatSpot Float32x4
final
flatSpot double
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initialWeightBiasValue double
finalinherited
initialWeightScale double
finalinherited
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope List<ActivationFunctionScope>
Scopes where this activation function should be used.
no setterinherited

Methods

activate(double x) double
The activation function.
inherited
activateEntry(Float32x4 entry) Float32x4
The activation function for an entry (SIMD).
inherited
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.
inherited
derivativeEntry(Float32x4 entry) Float32x4
The derivative function for an entry (SIMD).
inherited
derivativeEntryWithFlatSpot(Float32x4 entry) Float32x4
The derivative function for an entry with flat spot (SIMD).
inherited
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.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited