addLayers
Add layers to layer graph or network
Description
adds the network layers in lgraphUpdated
= addLayers(lgraph
,larray
)larray
to the layer graph
lgraph
. The updated layer graph
lgraphUpdated
contains the layers and connections of
lgraph
together with the layers in
larray
, connected sequentially. The layer names in
larray
must be unique, nonempty, and different from the
names of the layers in lgraph
.
adds the network layers in netUpdated
= addLayers(net
,larray
)larray
to the
dlnetwork
object net
. The updated network
netUpdated
contains the layers and connections of
net
together with the layers in
larray
, connected sequentially. The layer names in
larray
must be unique, nonempty, and different from the
names of the layers in net
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017b