RMSprop class
Implements the RMSprop optimization algorithm. Maintains a moving average of squared gradients to normalize gradient magnitudes, dividing the learning rate by the square root of recent gradient variances.
Constructors
Properties
- beta ↔ double
-
Exponential decay factor for the moving average of squared gradients.
getter/setter pair
- epsilon ↔ double
-
Small constant added to the denominator to prevent division by zero.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- learningRate ↔ double
-
The step size factor applied during parameter updates.
getter/setter pairinherited
-
parameters
↔ List<
Tensor> -
The collection of trainable parameter tensors managed by this optimizer.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
step(
) → void -
Performs a single optimization step, updating moving squared gradients and adjusting parameter values.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
zeroGrad(
) → void -
Clears gradients by resetting the gradient buffer of every managed tensor in parameters to 0.0.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited