jactorch.train.utils#
Functions
|
Decay the learning rate of the optimizer by a factor of decay. |
|
DEPRECATED(Jiayuan Mao): jactorch.train.utils.mark_freezed has been deprecated and will be removed by 07/16/2022; please use jactorch.graph.parameter.mark_freezed instead. |
|
DEPRECATED(Jiayuan Mao): jactorch.train.utils.mark_unfreezed has been deprecated and will be removed by 07/16/2022; please use jactorch.graph.parameter.mark_unfreezed instead. |
|
Set the learning rate of the optimizer. |
Functions
- decay_learning_rate(optimizer, decay)[source]#
Decay the learning rate of the optimizer by a factor of decay.
- Parameters:
decay (float)
- mark_freezed(model)[source]#
DEPRECATED(Jiayuan Mao): jactorch.train.utils.mark_freezed has been deprecated and will be removed by 07/16/2022; please use jactorch.graph.parameter.mark_freezed instead.