Get learn rate factor of layer learnable parameter
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 parameter is in
a dlnetwork object in a custom layer.
returns the learn rate factor of the parameter with the name
factor = getLearnRateFactor(dlnet,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(dlnet,parameterPath)parameterPath. Use this syntax when the parameter is in
a nested layer.
getL2Factor | setL2Factor | setLearnRateFactor | trainingOptions | trainNetwork