getLearnRateFactor
Get learn rate factor of layer learnable parameter
Syntax
Description
returns the learn rate factor of the learnable parameter with the name
factor
= getLearnRateFactor(layer
,parameterName
)parameterName
in layer
.
For built-in layers, you can get the learn rate factor directly by using the
corresponding property. For example, for a convolution2dLayer
layer, the syntax factor =
getLearnRateFactor(layer,'Weights')
is equivalent to
factor = layer.WeightLearnRateFactor
.
returns the learn rate factor of the parameter specified by the path
factor
= getLearnRateFactor(layer
,parameterPath
)parameterPath
. Use this syntax when the layer is a
networkLayer
or when the parameter is in a
dlnetwork
object in a custom layer.
returns the learn rate factor of the parameter with the name
factor
= getLearnRateFactor(net
,layerName
,parameterName
)parameterName
in the layer with name
layerName
for the specified dlnetwork
object.
returns the learn rate factor of the parameter specified by the path
factor
= getLearnRateFactor(net
,parameterPath
)parameterPath
. Use this syntax when the parameter is in
a networkLayer
or when the parameter is in a
dlnetwork
object in a custom layer..