closeloop
(To be removed) Convert neural network open-loop feedback to closed loop
closeloop will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
Syntax
net = closeloop(net)
[net,xi,ai] = closeloop(net,xi,ai)
Description
net = closeloop(net) takes a neural network and closes any
open-loop feedback. For each feedback output i whose property
net.outputs{i}.feedbackMode is 'open', it
replaces its associated feedback input and their input weights with layer weight
connections coming from the output. The net.outputs{i}.feedbackMode
property is set to 'closed', and the
net.outputs{i}.feedbackInput property is set to an empty matrix.
Finally, the value of net.outputs{i}.feedbackDelays is added to the
delays of the feedback layer weights (i.e., to the delays values of the replaced input
weights).
[net,xi,ai] = closeloop(net,xi,ai) converts an open-loop network
and its current input delay states xi and layer delay states
ai to closed-loop form.


