Concatenation layer
A concatenation layer takes inputs and concatenates them along a specified dimension. The inputs must have the same size in all dimensions except the concatenation dimension.
Specify the number of inputs to the layer when you create it. The inputs have the names
'in1','in2',...,'inN'
, where N
is the number of
inputs. Use the input names when connecting or disconnecting the layer by using connectLayers
or
disconnectLayers
.
also sets the layer
= concatenationLayer(dim
,numInputs
,'Name',name)Name
property. To create a network containing a concatenation
layer, you must specify a layer name.
additionLayer
| connectLayers
| disconnectLayers
| layerGraph
| trainNetwork