How to implement LSTM layers in MATLAB's DDPG agent

18 次查看(过去 30 天)
I am trying to include LSTM layers in my DDPG agent to compensate for modeling in a non-markovian environment. I would assume I would add them in both the actor and critic networks and was wondering if MATLAB's DDPG algorithm would automatically handle the change to R-DDPG and if not, I would appreciate insight on the process of modifying the current algorithm (on the MATLAB side of modifying the algorithm to what I want).
Thank you

采纳的回答

Emmanouil Tzorakoleftherakis
Hello,
You can use lstm layers directly in both actors and critics and the built-in DDPG agent will handle the rest. Take a look here:

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by