Main Content

Policy Deployment

Code generation and deployment of trained policies

Once you train a reinforcement learning agent, you can generate code to deploy the optimal policy. For example, using MATLAB® Coder™ and GPU Coder™, you can generate C++ or CUDA® code and deploy neural network policies on embedded platforms.

Functions

generatePolicyFunctionCreate function that evaluates trained policy of reinforcement learning agent

Topics