Do the actorNet and criticNet share the parameter if the layers have the same name?
3 次查看(过去 30 天)
显示 更早的评论
Hi.
At the Create DDPG Agent Using Initialization Options example, there are plots of actorNet and criticNet.
My question is, the layers that have the same name share their parameters?
Or the actorNet and criticNet have their own ones?
0 个评论
采纳的回答
Emmanouil Tzorakoleftherakis
2021-4-6
No, each network has its own parameters. Shared layers are not supported out of the box, you would have to implement custom training loop.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!