Understanding Action Dimension Formatting in MATLAB's DDPG with LSTM-Based Networks

5 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Snehal
Snehal el 24 de Mzo. de 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.

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by