Main Content
addInputLayer
Syntax
Description
adds the input layer netUpdated
= addInputLayer(net
,layer
)layer
to the network net
by
connecting the input layer to the first unconnected input in net
. If
the updated network supports automatic initialization, then the function automatically
initializes the learnable parameters of the network.
also specifies which unconnected input the function connects to the input layer.netUpdated
= addInputLayer(net
,layer
,inputName
)
also specifies whether to initialize the output network using any of the previous
syntaxes.netUpdated
= addInputLayer(___,Initialize=tf
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022b