reset
Reset environment, agent, experience buffer, or policy object
Description
resets the specified MATLAB®environment to an initial state and returns the resulting initial observation
value.initialObs
= reset(env
)
Do not use reset
for Simulink® environments, which are implicitly reset when running a new simulation.
Instead, customize the reset behavior using the ResetFcn
property of
the environment.
sets any recurrent neural network states of the specified policy object to zero and resets
any noise model states. This syntax has no effect if the policy object does not use a
recurrent neural network and does not have a noise model with state.resetPolicy
= reset(policy
)
Examples
Input Arguments
Output Arguments
Version History
See Also
runEpisode
| setup
| cleanup