Do the actorNet and criticNet share the parameter if the layers have the same name?
조회 수: 1 (최근 30일)
이전 댓글 표시
Heesu Kim
2021년 4월 5일
답변: Emmanouil Tzorakoleftherakis
2021년 4월 6일
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
채택된 답변
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!