Do the actorNet and criticNet share the parameter if the layers have the same name?

5 ビュー (過去 30 日間)
Hi.
I'm following the rlDDPGAgent example, and I want to make sure one thing as in the title.
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?

採用された回答

Emmanouil Tzorakoleftherakis
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 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by