multiplicationLayer
Multiplication layer
Description
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
, respectively. 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.