# US 12,277,499 B2 · Vector computation unit in a neural network processor

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,277,499 B2
- Document ID: US12277499B2
- Status: Granted
- Kind: B2
- Application number: 18/636,640
- Filed: 2024-04-16
- Published: 2024-08-15
- Granted: 2025-04-15
- Earliest claimed: 2015-05-21
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Gregory Michael Thorson; Christopher Aaron Clark; Dan Luu
- Web page: https://patentgrep.com/patent/US12277499B2

## CPC

- G06N 3/08: Learning methods
- G06F 5/08: having a sequence of storage locations, the intermediate ones not being accessible for either enqueue or dequeue operations, e.g. using a shift register {(G06F5/065 takes precedence; shift registers per se G11C19/00)}
- G06F 7/544: for evaluating functions by calculation {(G06F7/4824 takes precedence)}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/0499: Feedforward networks
- G06N 3/063: using electronic means
- G06N 5/04: Inference or reasoning models
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A circuit for performing neural network computations for a neural network comprising a plurality of layers, the circuit comprising: activation circuitry configured to receive a vector of accumulated values and configured to apply a function to each accumulated value to generate a vector of activation values; and normalization circuitry coupled to the activation circuitry and configured to generate a respective normalized value from each activation value.

## Claims

### Claim 1

A vector computation unit for performing neural network computations comprising:
normalization circuitry configured to:
receive a vector of activation values;
receive one or more control signals specifying a normalization function; and
apply the normalization function to the activation values to generate respective normalized values for each activation value.

### Claim 2 (depends on 1)

The vector computation unit of claim 1, wherein the one or more control signals are provided by a sequencer.

### Claim 3 (depends on 1)

The vector computation unit of claim 1, further comprising activation circuitry configured to:
receive a vector of accumulated values;
receive one or more control signal specifying an activation function; and
apply the activation function to the accumulated values to generate the vector of activation values.

### Claim 4 (depends on 3)

The vector computation unit of claim 3, wherein the accumulated values correspond to products of a matrix multiplication between a layer of the neural network and a parameter matrix for the layer.

### Claim 5 (depends on 1)

The vector computation unit of claim 1, further comprising pooling circuitry configured to:
receive the normalized values;
receive one or more control signals specifying a pooling function; and
apply the pooling function to the normalized values to generate a pooled value.

### Claim 6 (depends on 5)

The vector computation unit of claim 5, wherein the pooled value comprises at least one of a maximum, a minimum, or an average of the activation values, or a maximum, a minimum, or an average of a subset of the activate values.

### Claim 7 (depends on 5)

The vector computation unit of claim 5, wherein the pooling circuitry comprises multiple parallel pooling circuitries, each pool circuitry configured to receive a subset of the activation values to generate a respective pooled value.

### Claim 8 (depends on 1)

The vector computation unit of claim 1, wherein applying the normalization function to the activation values comprises:
determining a sum of the activation values;
determining a multiplication factor based on the sum of the activation values; and
multiplying the activation values by the multiplication factor to generate the normalized values.

### Claim 9 (depends on 1)

The vector computation unit of claim 1, further comprising a plurality of registers and a plurality of memory units configured to store the activation values.

### Claim 10

A method for performing neural network computations comprising:
receiving, by normalization circuitry of a vector computation unit, a vector of activation values;
receiving, by the normalization circuitry, one or more control signals specifying a normalization function; and
applying, by the normalization circuitry, the normalization function to the activation values to generate respective normalized values for each activation value.

### Claim 11 (depends on 10)

The method of claim 10, wherein the one or more control signals are provided by a sequencer.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
receiving, by activation circuitry of the vector computation unit, a vector of accumulated values;
receiving, by the activation circuitry, one or more control signal specifying an activation function; and
applying, by the activation circuitry, the activation function to the accumulated values to generate the vector of activation values.

### Claim 13 (depends on 12)

The method of claim 12, wherein the accumulated values correspond to products of a matrix multiplication between a layer of the neural network and a parameter matrix for the layer.

### Claim 14 (depends on 10)

The method of claim 10, further comprising:
receiving, by pooling circuitry of the vector computation unit, the normalized values;
receiving, by the pooling circuitry, one or more control signals specifying a pooling function; and
applying, by the pooling circuitry, the pooling function to the normalized values to generate a pooled value.

### Claim 15 (depends on 14)

The method of claim 14, wherein the pooled value comprises at least one of a maximum, a minimum, or an average of the activation values, or a maximum, a minimum, or an average of a subset of the activate values.

### Claim 16 (depends on 14)

The method of claim 14, wherein the pooling circuitry comprises multiple parallel pooling circuitries, each pool circuitry configured to receive a subset of the activation values to generate a respective pooled value.

### Claim 17 (depends on 10)

The method of claim 10, wherein applying the normalization function to the activation values comprises:
determining a sum of the activation values;
determining a multiplication factor based on the sum of the activation values; and
multiplying the activation values by the multiplication factor to generate the normalized values.

### Claim 18

A non-transitory computer readable medium for storing instructions executable by a processor to perform neural network computations, the instructions comprising:
receiving a vector of activation values;
receiving one or more control signals specifying a normalization function; and
applying the normalization function to the activation values to generate respective normalized values for each activation value.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the instructions further comprise:
receiving a vector of accumulated values;
receiving one or more control signal specifying an activation function; and
applying the activation function to the accumulated values to generate the vector of activation values.

### Claim 20 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the instructions further comprise:
receiving the normalized values;
receiving one or more control signals specifying a pooling function; and
applying the pooling function to the normalized values to generate a pooled value.
