×

Prefetching weights for use in a neural network processor

  • US 9,805,304 B2
  • Filed: 12/22/2016
  • Issued: 10/31/2017
  • Est. Priority Date: 05/21/2015
  • Status: Active Grant
First Claim
Patent Images

1. A circuit for performing neural network computations for a neural network comprising a plurality of layers, the circuit comprising:

  • a hardware matrix computation unit comprising circuitry for a systolic array, the systolic array comprising a plurality of cells, each cell of the plurality of cells comprising a weight register disposed within the cell for storing weight inputs received from a source external to the cell;

    hardware circuitry for a weight fetcher unit configured to, for each of the plurality of neural network layers;

    send, for the neural network layer, a plurality of weight inputs to cells along a first dimension of the systolic array; and

    hardware circuitry for a plurality of weight sequencer units that are disposed external to each cell of the plurality of cells, each weight sequencer unit coupled to a distinct cell along the first dimension of the systolic array, each of the plurality of weight sequencer units configured to, for each of the plurality of neural network layers;

    provide a control value for storage in a control register disposed within the distinct cell coupled to the weight sequencer unit, the control value being used to shift, for the neural network layer, the plurality of weight inputs to cells along the second dimension of the systolic array over a plurality of clock cycles, where each weight input is stored inside a respective cell using the weight register and along the second dimension, and where each cell is configured to compute a product of an activation input and a respective weight input using multiplication circuitry.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×