pyFDN.L2#
- class pyFDN.L2(ref)[source]#
Mean squared value of a parameter – plain weight decay.
- __init__(ref)#
Methods
__init__(ref)check(model)Preflight against the model it will train, before the first step.
penalty(value)The penalty on the parameter's mapped
value.terms()Flatten into
(weight, loss)leaves.Attributes
nameShort label, used as the key in
pyFDN.TrainLog.loss_log.