# US 2022/0283984 A1 · Neural processor

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

- Number: US 2022/0283984 A1
- Document ID: US20220283984A1
- Status: Published application
- Kind: A1
- Application number: 17/369,298
- Filed: 2021-07-07
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: Samsung Electronics Co., Ltd.; Snu R&Db Foundation
- Applicants: Samsung Electronics Co., Ltd.; Snu R&Db Foundation
- Inventors: Dongyoung KIM; Jung Ho AHN; Sunjung LEE; Jaewan CHOI
- Web page: https://patentgrep.com/patent/US20220283984A1

## CPC

- G06F 15/8046: {Systolic arrays}
- G06F 9/3001: {Arithmetic instructions}
- G06F 17/153: {Multidimensional correlation or convolution}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G06N 3/048: Activation functions
- 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

A neural processor is provided. The neural processor includes a matrix device which is configured to generate an output feature map by processing a standard convolution operation and which has a systolic array architecture, and accelerators with an adder-tree structure which are configured to process depth-wise convolution operations for each of elements of the output feature map corresponding to lanes of the matrix device.

## Claims

### Claim 1

A neural processor, comprising:
a matrix device configured to generate an output feature map by processing a standard convolution operation, the matrix device configured to have a systolic array architecture; and
accelerators, configured to process depth-wise convolution operations for each of elements of the output feature map corresponding to lanes of the matrix device.

### Claim 2 (depends on 1)

The neural processor of claim 1, wherein the output feature map generated by the standard convolution operation is provided as an input to the accelerators in a pipelined manner to perform the depth-wise convolution operations.

### Claim 3 (depends on 1)

The neural processor of claim 1, wherein each of the accelerators is configured to perform the depth-wise convolution operations in parallel for each of the elements of the output feature map that are output for each of the lanes corresponding to columns of the matrix device.

### Claim 4 (depends on 1)

The neural processor of claim 1, wherein the accelerators are configured to operate by implementing a lockstep scheme of processing a same set of operations at a same time in parallel.

### Claim 5 (depends on 1)

The neural processor of claim 1, wherein the accelerators respectively correspond to the lanes of the matrix device.

### Claim 6 (depends on 1)

The neural processor of claim 1, wherein each of the accelerators comprises:
a plurality of multipliers;
a plurality of depth-wise input feature map buffers, configured to store the output feature map for the depth-wise convolution operations; and
a depth-wise weight buffer, configured to store weights for the depth-wise convolution operations.

### Claim 7 (depends on 6)

The neural processor of claim 6, wherein the plurality of multipliers are configured to:
perform a multiplication operation for the depth-wise convolution operations based on the output feature map received from the plurality of depth-wise input feature map buffers and the weights received from the depth-wise weight buffer; and
transmit a result of the multiplication operation to first adders included in the adder-tree structure.

### Claim 8 (depends on 6)

The neural processor of claim 6, wherein each of the accelerators further comprises:
a second adder, configured to collect a multiplication operation result of the plurality of multipliers; and
a latch, configured to store values collected in the second adder.

### Claim 9 (depends on 6)

The neural processor of claim 6, wherein the plurality of depth-wise input feature map buffers are configured to be one-to-one connected to the plurality of multipliers.

### Claim 10 (depends on 6)

The neural processor of claim 6, wherein the depth-wise weight buffer is configured to read the weights directly from a memory through a memory interface and to simultaneously store and process the weights by a double buffering scheme.

### Claim 11 (depends on 6)

The neural processor of claim 6, wherein:
the depth-wise weight buffer comprises a barrel shifter, configured to shift a position of the weights, and
the depth-wise weight buffer is configured to map an element of the output feature map and an element of the weights to the plurality of multipliers with the barrel shifter.

### Claim 12 (depends on 1)

The neural processor of claim 1, further comprising:
an accumulator, configured to store the elements of the output feature map generated by the matrix device.

### Claim 13 (depends on 1)

The neural processor of claim 1, wherein the matrix device further comprises a postprocessing module, configured to perform at least one postprocessing operation among an activation operation, a normalization operation, and a pooling operation on the elements of the output feature map.

### Claim 14 (depends on 1)

The neural processor of claim 1, wherein the accelerators are configured to have an adder-tree structure.

### Claim 15

A processor-implemented neural network method, the method comprising:
generating, with a matrix device having a systolic array architecture, an output feature map by processing a standard convolution operation;
processing, with accelerators, depth-wise convolution operations for each of elements of the output feature map corresponding to lanes of the matrix device; and
providing the generated output feature map as an input to the accelerators to perform the depth-wise convolution operations.

### Claim 16 (depends on 15)

The method of claim 15, further comprising processing the depth-wise convolution operations with adders included in an adder tree structure of the accelerators.

### Claim 17 (depends on 15)

The method of claim 15, further comprising performing the depth-wise convolution operations in parallel for each of the elements of the output feature map that are output for each of the lanes corresponding to columns of the matrix device.

### Claim 18 (depends on 15)

The method of claim 15, further comprising performing at least one postprocessing operation among an activation operation, a normalization operation, and a pooling operation on the elements of the output feature map.
