isconfigured
(To be removed) Indicate if network inputs and outputs are configured
isconfigured 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
[flag,inputflags,outputflags] = isconfigured(net)
Description
[flag,inputflags,outputflags] = isconfigured(net) takes a neural
network and returns three values,
flag | True if all network inputs and outputs are configured (have non-zero sizes) |
inputflags | Vector of true/false values for each configured/unconfigured input |
outputflags | Vector of true/false values for each configured/unconfigured output |
Examples
Here are the flags returned for a new network before and after being configured:
net = feedforwardnet; [flag,inputFlags,outputFlags] = isconfigured(net) [x,t] = simplefit_dataset; net = configure(net,x,t); [flag,inputFlags,outputFlags] = isconfigured(net)
Version History
Introduced in R2010bSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork