learning rate
learning rate decay
weight decay
momentum
dampening for momentum
enables Nesterov momentum
1D tensor of individual learning rates
1D tensor of individual weight decays
Clear the history information in the OptimMethod state
clone OptimMethod
dampening for momentum
return an string of current hyperParameter.
return an string of current hyperParameter.
a table contains the hyper parameter.
return an string of current hyperParameter.
return an string of current hyperParameter.
get learning rate
learning rate
learning rate decay
1D tensor of individual learning rates
load optimMethod parameters from Table
momentum
enables Nesterov momentum
a function that takes a single input (X), the point of a evaluation, and returns f(X) and df/dX
the initial point
the new x 1D tensor and the function list, evaluated before the update
save OptimMethod
Update hyper parameter.
Update hyper parameter. We have updated hyper parameter in method optimize(). But in DistriOptimizer, the method optimize() is only called on the executor side, the driver's hyper parameter is unchanged. So this method is using to update hyper parameter on the driver side.
config table.
state Table.
A string.
Update hyper parameter.
Update hyper parameter. We have updated hyper parameter in method optimize(). But in DistriOptimizer, the method optimize() is only called on the executor side, the driver's hyper parameter is unchanged. So this method is using to update hyper parameter on the driver side.
A string.
weight decay
1D tensor of individual weight decays
Clear the history information in the state
Clear the history information in the state
(Since version 0.2.0) Please use clearHistory() instead
Optimize the model parameter
Optimize the model parameter
a function that takes a single input (X), the point of a evaluation, and returns f(X) and df/dX
the initial point
a table with configuration parameters for the optimizer
a table describing the state of the optimizer; after each call the state is modified
the new x vector and the function list, evaluated before the update
(Since version 0.2.0) Please initialize OptimMethod with parameters when creating it instead of importing table
A plain implementation of SGD