Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
lr
↔ double
-
Current learning rate. Mutable so that LRSchedulers can adjust
it across training steps.
getter/setter pair
-
parameters
→ List<Tensor>
-
The parameters this optimizer updates. Order is stable.
final
-
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
-
Apply one update step using each parameter's current
.grad.
Parameters with grad == null are skipped.
-
toString()
→ String
-
A string representation of this object.
inherited
-
zeroGrad()
→ void
-
Zero the gradient buffer of every registered parameter.