Multiplication layer
A multiplication layer multiplies inputs from multiple neural network layers element-wise.
Specify the number of inputs to the layer when you create it. The inputs to the layer
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
.The size of the inputs to the multiplication layer must
be either same across all dimensions or same across at least one dimension with other
dimensions as singleton dimensions.
creates a multiplication layer that multiplies layer
= multiplicationLayer(numInputs
)numInputs
inputs element-wise. This function also sets the NumInputs
property.
additionLayer
| concatenationLayer
| layerGraph
| trainNetwork