Understanding Action Dimension Formatting in MATLAB's DDPG with LSTM-Based Networks
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
In MATLAB's Reinforcement Learning Toolbox, when using DDPG with LSTM-based actor and critic networks, the conversion of actions to dlarray is handled automatically. Since users do not have direct control over this process: Are actions formatted with a 'T' (time) dimension or a 'C' (channel) dimension when passed between the actor and critic networks? How does MATLAB structure these actions to ensure compatibility with recurrent layers, such as aligning sequences for LSTM time steps?
0 Kommentare
Antworten (1)
Snehal
am 24 Mär. 2025
I understand that you are trying to know how actions are formatted by the underlying mechanism when using MATLAB’s DDPG with LSTM-Based Networks.
Actions are formatted with a 'T' (time) dimension to ensure compatibility with LSTM layers.
The data is structured in the ‘CBT’ format to ensure that both actor and critic networks can process sequences effectively.
Therefore, MATLAB automatically handles the reshaping of actions to align them with the expected input format for LSTM layers.
For more insights, you may refer to the following documentation link:
Below is the link to a similar MATLAB question addressed previously:
Hope this helps.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!