×

Apparatus and methods for matrix multiplication

  • US 10,592,241 B2
  • Filed: 10/25/2018
  • Issued: 03/17/2020
  • Est. Priority Date: 04/26/2016
  • Status: Active Grant
First Claim
Patent Images

1. An apparatus for matrix multiplication in a neural network, comprising:

  • a master computation module configured toreceive, in response to an instruction, a first matrix, andtransmit a row vector of the first matrix;

    one or more slave computation modules respectively configured tostore a column vector of a second matrix,receive the row vector of the first matrix, andmultiply, in response to the instruction, the row vector of the first matrix with the stored column vector of the second matrix to generate a result element; and

    an interconnection unit configured tocombine the one or more result elements generated respectively by the one or more slave computation modules to generate a row vector of a result matrix, andtransmit the row vector of the result matrix to the master computation module,wherein each of the one or more slave computation modules includes;

    a slave neuron caching unit configured to store the column vector of the second matrix,one or more multipliers configured to respectively multiply one or more first elements in the row vector of the first matrix with one or more second elements in the stored column vector of the second matrix to generate one or more multiplication results;

    an adder configured to add the one or more multiplication results to generate an intermediate value of the row vector of the result matrix; and

    an accumulator configured to accumulate the one or more intermediate values to generate the result element.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×