chainer.optimizer.WeightDecay¶
-
class
chainer.optimizer.
WeightDecay
(rate)[source]¶ Optimizer/UpdateRule hook function for weight decay regularization.
This hook function adds a scaled parameter to the corresponding gradient. It can be used as a regularization.
Parameters: rate (float) – Coefficient for the weight decay. Variables: rate (float) – Coefficient for the weight decay. Methods