reinforcement learning policy -凯发k8网页登录
reinforcement learning policy
since r2022b
libraries:
reinforcement learning toolbox
description
use the policy block to simulate a reinforcement learning policy in simulink® and to generate code (using simulink coder™) for deployment purposes. this block takes an observation as input and outputs an action. you associate the block with a mat-file that contains the information needed to fully characterize the policy, and which can be generated by or .
examples
ports
input
output
parameters
tips
when using embedded coder® to generate parallel code, enabling the generate parallel for loops optimization parameter improves the performance when the data being processed is large in size. however, if the network and the data is small, the overhead of initializing the threads for parallelization significantly reduces the performance. in this case, disable generate parallel for loops. see (embedded coder) and (matlab coder) for more information.
extended capabilities
version history
introduced in r2022b
see also
functions
objects
- | | | |