update
Update the state of on optimizer object and a set of learnable parameters using the gradient value
Since R2022a
Syntax
Description
[
updates the internal state of updatedFcnAppx,newOptimizer] = update(optimizer,fcnAppx,grad)optimizer and the learnable parameters of
fcnAppx according to the gradient value grad.
Returns the updated approximator updatedFcnAppx and the updated
optimizer newOptimizer.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022a
See Also
Functions
rlOptimizer|syncParameters|runEpisode|evaluate|dlfeval|dlaccelerate|getValue|getAction|getMaxQValue|setup|cleanup