hottub.patents
US 12,705,472 B2#3168226 Most CitedActiveUnited States (USPTO)Utility

Prefetching weights for use in a neural network processor

0Forward Citations (#3168226 Global)
0.0/yrCitation Velocity (#3168226 Global)
0.00Citation PageRank (#3168226 Global)
49Prior Art Cited
8Claims (1 Indep. · 7 Dep.)
0Drawings / Sheets

Abstract

A circuit for performing neural network computations for a neural network, the circuit comprising: a systolic array comprising a plurality of cells; 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 a plurality of weight sequencer units, each weight sequencer unit coupled to a distinct cell along the first dimension of the systolic array, the plurality of weight sequencer units configured to, for each of the plurality of neural network layers: 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 and where each cell is configured to compute a product of an activation input and a respective weight input using multiplication circuitry.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 49 · Forward citations: 0.

Claims (8 — 1 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    A system for performing neural network computations for a neural network having a plurality of neural network layers, the system comprising: a matrix computation unit comprising circuitry configured to: obtain a weight input for a neural network layer of the plurality of neural network layers; receive a control signal; and determine, based on the control signal, whether to reuse the weight input for a different neural network layer of the plurality of neural network layers at a subsequent clock cycle.

  2. Claim 2Depends on #1

    The system of claim 1, wherein the circuitry is further configured to, in response to a determination to reuse the weight input, shift the weight input.

  3. Claim 3Depends on #1

    The system of claim 1, wherein the circuitry is further configured to: obtain an activation input for the neural network layer; and determine, based on the control signal, whether to reuse the activation input at a subsequent clock cycle.

  4. Claim 4Depends on #3

    The system of claim 3, wherein obtaining the activation input comprises obtaining the activation input from a value loader.

  5. Claim 5Depends on #3

    The system of claim 3, wherein: obtaining the weight input comprises obtaining a shifted weight input; and obtaining the respective activation input comprises obtaining a shifted activation input.

  6. Claim 6Depends on #3

    The system of claim 3, further comprising: a first memory configured to provide activation inputs for the plurality of neural network layers; and a second memory configured to provide weight inputs for the plurality of neural network layers.

  7. Claim 7Depends on #6

    The system of claim 6, further comprising a vector computation unit comprising circuitry configured to: receive one or more accumulated values from the matrix computation unit; determine a vector based on the one or more accumulated values; and provide the vector to the first memory.

  8. Claim 8Depends on #6

    The system of claim 6, further comprising sequencer circuitry configured to provide one or more control signals to at least one of the first memory, the second memory, the vector computation unit, or the matrix computation unit.

Technical Overview & Description

CROSS REFERENCE TO RELATED APPLICATIONS The present application is a continuation of U.S. patent application Ser. No. 17/134,936, filed Dec. 28, 2020, which is a continuation of U.S. patent application Ser. No. 16/826,466, filed Mar. 23, 2020, now U.S. Pat. No. 10,878,316, which is a continuation of U.S. patent application Ser. No. 16/053,305, filed Aug. 2, 2018, now U.S. Pat. No. 11,281,966, which is a continuation of U.S. patent application Ser. No. 14/844,670, filed Sep. 3, 2015, now U.S. Pat. No. 10,049,322, which claims the benefit of the filing date of U.S. Provisional Patent Application No. 62/164,981, filed May 21, 2015, the disclosures of which are incorporated herein by reference. BACKGROUND This specification relates to computing neural network inferences in hardware. Neural networks are machine learning models that employ one or more layers of models to generate an output, e.g., a classification, for a received input. Some neural networks include one or more hidden layers in addition to an output layer. The output of each hidden layer is used as input to the next layer in the network, i.e., the next hidden layer or the output layer of the network. Each layer of the network generates an output from a received input in accordance with current values of a respective set of parameters. Some neural networks include one or more convolutional neural network layers. Each convolutional neural network layer has an associated set of kernels. Each kernel includes values established by a neural network model created by a user. In some implementations, kernels identify particular image contours, shapes, or colors. Kernels can be represented as a matrix structure of weight inputs. Each convolutional layer can also process a set of activation inputs. The set of activation inputs can also be represented as a matrix structure. Some existing systems perform computations for a given convolutional layer in software. For example, the software can apply each kernel for the lay

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (10)

  • Islam, Mobarakol, and K. Murase.
  • “
  • A new weight freezing method for reducing training time in designing artificial neural networks.
  • ”
  • In 2001 IEEE International Conference on Systems, Man and Cybernetics. e-Systems and e-Man for Cybernetics in Cyberspace, vol. 1, pp. 341-346. IEEE, 2001. (Year: 2001).
  • Notice of Allowance for Korean Patent Application No. 10-2022-7021145 dated Nov. 28, 2023. 3 pages.
  • Office Action for European Patent Application No. 21205423.3 dated Apr. 19, 2024. 5 pages.
  • Beamer et al.,
  • “
  • Ivy Bridge Server Graph Processing Bottlenecks,