Class: DNN::Optimizers::Nesterov
- Defined in:
- lib/dnn/core/optimizers.rb
Instance Attribute Summary
Attributes inherited from SGD
Attributes inherited from Optimizer
Instance Method Summary collapse
-
#initialize(lr: 0.01, momentum: 0.9, clip_norm: nil) ⇒ Nesterov
constructor
A new instance of Nesterov.
Methods inherited from SGD
Methods inherited from Optimizer
from_hash, #load_hash, #to_hash, #update, #update_layers
Constructor Details
#initialize(lr: 0.01, momentum: 0.9, clip_norm: nil) ⇒ Nesterov
Returns a new instance of Nesterov.
100 101 102 |
# File 'lib/dnn/core/optimizers.rb', line 100 def initialize(lr: 0.01, momentum: 0.9, clip_norm: nil) super(lr: lr, momentum: momentum, clip_norm: clip_norm) end |