Do the actorNet and criticNet share the parameter if the layers have the same name?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Heesu Kim
le 5 Avr 2021
Réponse apportée : Emmanouil Tzorakoleftherakis
le 6 Avr 2021
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/573517/image.png)
0 commentaires
Réponse acceptée
Emmanouil Tzorakoleftherakis
le 6 Avr 2021
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 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!