This class implements a layer that performs matrix multiplication operation for its two inputs.
It treats the first three dimensions (BatchLength * BatchWidth * ListSize
) as the number of matrices, the next three (Height * Width * Depth
) as the height of each and the last one (Channels
) as the width of each matrix. So this layer implements a bunch of independent matrix multiplications.
This layer has no settings.
This layer has no trainable parameters.
This layer has 2 inputs. Each of them accepts the set of matrices:
BatchLength * BatchWidth * ListSize
- the number of matrices in sets, must be equal between inputsHeight * Width * Depth
- matrix heightChannels
- matrix width;Channels
of the first input must be equal toHeight * Width * Depth
of the second input
Single output returns the blob with multiplication results, of the dimensions:
BatchLength
,BatchWidth
,ListSize
,Height
,Width
,Depth
are equal to these dimensions of the first inputChannels
is equal to theChannels
of the second input.