openloop
(To be removed) Convert neural network closed-loop feedback to open loop
openloop 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 = openloop(net)
[net,xi,ai] = openloop(net,xi,ai)
Description
net = openloop(net) takes a neural network and opens any
closed-loop feedback. For each feedback output i whose property
net.outputs{i}.feedbackMode is 'closed', it
replaces its associated feedback layer weights with a new input and input weight
connections. The net.outputs{i}.feedbackMode property is set to
'open', and the net.outputs{i}.feedbackInput
property is set to the index of the new input. Finally, the value of
net.outputs{i}.feedbackDelays is subtracted from the delays of
the feedback input weights (i.e., to the delays values of the replaced layer
weights).
[net,xi,ai] = openloop(net,xi,ai) converts a closed-loop network
and its current input delay states xi and layer delay states
ai to open-loop form.



