- Load the agent in MATLAB. Say, it is assigned to variable 'agent'.
- Extract the actor and critic function approximators using 'getActor' and 'getCritic' methods.
- Extract the deep neural networks from both the actor and critic function approximators.
- Once you have the networks, you can use the 'layerGraph' function to extract the respective layer graph.
- To analyze these layer graphs, you can either use 'plot' function or "analyzeNetwork" function.