# US 2020/0394504 A1 · Neural network accelerator

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

- Number: US 2020/0394504 A1
- Document ID: US20200394504A1
- Status: Published application
- Kind: A1
- Application number: 16/868,845
- Filed: 2020-05-07
- Published: 2020-12-17
- Earliest claimed: 2019-06-14
- Assignees: Postech Research and Business Development Foundation
- Applicants: POSTECH Research and Business Development Foundation
- Inventors: Sungju RYU; Hyungjun KIM; Jae-Joon KIM
- Web page: https://patentgrep.com/patent/US20200394504A1

## CPC

- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06N 3/063: using electronic means
- G06F 7/485: Adding; Subtracting {(G06F7/4833, G06F7/4836 take precedence)}
- G06F 7/523: Multiplying only
- G06F 2207/4824: Neural networks
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Disclosed is a neural network accelerator including a first bit operator generating a first multiplication result by performing multiplication on first feature bits of input feature data and first weight bits of weight data, a second bit operator generating a second multiplication result by performing multiplication on second feature bits of the input feature data and second weight bits of the weight data, an adder generating an addition result by performing addition based on the first multiplication result and the second multiplication result, a shifter shifting a number of digits of the addition result depending on a shift value to generate a shifted addition result, and an accumulator generating output feature data based on the shifted addition result.

## Claims

### Claim 1

A neural network accelerator comprising:
a first bit operator configured to generate a first multiplication result by performing multiplication on first feature bits of input feature data and first weight bits of weight data;
a second bit operator configured to generate a second multiplication result by performing multiplication on second feature bits of the input feature data and second weight bits of the weight data;
an adder configured to generate an addition result by performing addition based on the first multiplication result and the second multiplication result;
a shifter configured to shift a number of digits of the addition result depending on a shift value to generate a shifted addition result; and
an accumulator configured to generate output feature data based on the shifted addition result.

### Claim 2 (depends on 1)

The neural network accelerator of claim 1, wherein the shift value is determined based on a number of digits of the first feature bits in the input feature data and a number of digits of the first weight bits in the weight data or is determined based on a number of digits of the second feature bits in the input feature data and a number of digits of the second weight bits in the weight data.

### Claim 3 (depends on 1)

The neural network accelerator of claim 1, wherein the input feature data is divided into the first feature bits and the second feature bits depending on a number of operating bits of each of the first bit operator and the second bit operator, and
wherein the weight data is divided into the first weight bits and the second weight bits depending on the number of operating bits.

### Claim 4 (depends on 1)

The neural network accelerator of claim 1, wherein a number of bits of the first feature bits is identical to a number of bits of the first weight bits.

### Claim 5 (depends on 1)

The neural network accelerator of claim 1, wherein the first bit operator generates the first multiplication result based on one selected depending on a selection signal among an XNOR operation and an AND operation.

### Claim 6 (depends on 1)

The neural network accelerator of claim 1, wherein the output feature data is a multiplication result for the input feature data and the weight data.

### Claim 7

A neural network accelerator comprising:
a first processing circuit configured to generate a first operation result based on first feature bits of input feature data and first weight bits of weight data;
a second processing circuit configured to generate a second operation result based on second feature bits of the input feature data and second weight bits of the weight data;
a first shifter configured to shift a number of digits of the first operation result depending on a first shift value to generate a first shifted operation result;
a second shifter configured to shift a number of digits of the second operation result depending on a second shift value different from the first shift value to generate a second shifted operation result; and
an accumulator configured to generate output feature data based on the first shifted operation result and the second shifted operation result.

### Claim 8 (depends on 7)

The neural network accelerator of claim 7, wherein the first shift value is determined based on a number of digits of the first feature bits in the input feature data and a number of digits of the first weight bits in the weight data, and
wherein the second shift value is determined based on a number of digits of the second feature bits in the input feature data and a number of digits of the second weight bits in the weight data.

### Claim 9 (depends on 7)

The neural network accelerator of claim 7, wherein the first processing circuit generates the first operation result by adding a first multiplication result for the first feature bits and the first weight bits to a second multiplication result for third feature bits of the input feature data and third weight bits of the weight data.

### Claim 10 (depends on 9)

The neural network accelerator of claim 9, wherein a number of digits of the first multiplication result determined based on a number of digits of the first feature bits in the input feature data and a number of digits of the first weight bits in the weight data is identical to a number of digits of the second multiplication result determined based on a number of digits of the third feature bits in the input feature data and a number of digits of the third weight bits in the weight data.

### Claim 11 (depends on 7)

The neural network accelerator of claim 7, wherein a number of bits of the first feature bits is identical to a number of bits of the first weight bits.

### Claim 12 (depends on 7)

The neural network accelerator of claim 7, wherein the output feature data is a multiplication result for the input feature data and the weight data.
