Does setting BiasLearnRateFactor=0 prevent bias updates in a fullyConnectedLayer?

2 Ansichten (letzte 30 Tage)
actorNet = [
featureInputLayer(prod(obsInfo.Dimension))
fullyConnectedLayer(64, Bias=zeros(64,1), BiasLearnRateFactor=0)
reluLayer
fullyConnectedLayer(64, Bias=zeros(64,1), BiasLearnRateFactor=0)
fullyConnectedLayer(prod(actInfo.Dimension))
scalingLayer(Scale=5000, Bias=0)
];
actorOptions = rlOptimizerOptions( ...
LearnRate=1e-4, ...
GradientThreshold=1, ...
L2RegularizationFactor=1e-4);
I constructed an actor network and set the optimizer options as shown above.
My question is:
If I set BiasLearnRateFactor=0 in the fullyConnectedLayer, does this mean that the bias will not be updated at all during training?

Antworten (1)

Matt J
Matt J am 11 Jul. 2025
Yes.

Kategorien

Mehr zu Matrix Computations finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by