Matrix product with row and column vectors with a batch of inputs to the neural network

Matrix product with row and column vectors with a batch of inputs to the neural network


The matrix product of inputs and transposed weights will result in a matrix containing all atomic dot products that we need to calculate. The resulting matrix consists of outputs of all neurons after operations performed on each input sample.