# US 2019/0244082 A1 · Systolic neural network engine with crossover connection optimization

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

- Number: US 2019/0244082 A1
- Document ID: US20190244082A1
- Status: Published application
- Kind: A1
- Application number: 15/981,679
- Filed: 2018-05-16
- Published: 2019-08-08
- Earliest claimed: 2018-02-08
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Luiz M. Franca-Neto
- Web page: https://patentgrep.com/patent/US20190244082A1

## CPC

- G06N 3/063: using electronic means
- G06F 15/8046: {Systolic arrays}
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 5/046: Forward inferencing; Production systems
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of computer processing is disclosed comprising receiving a data packet at a processing node of a neural network, performing a calculation of the data packet at the processing node to create a processed data packet, attaching a tag to the processed data packet, transmitting the processed data packet from the processing node to a receiving node during a systolic pulse, receiving the processed data packet at the receiving node, performing a clockwise convolution on the processed data packet and a counter clockwise convolution on the processed data packet, performing an adding function and backpropagating results of the performed sigmoid function to each of the processing nodes that originally processed the data packet.

## Claims

### Claim 1

A device for systolically processing data according to a neural network, the device comprising:
a first arrangement of first processing units including at least first, second, third, and fourth processing units, wherein the first and second processing units are connected to systolically pulse data to one another, and wherein the third and fourth processing units are connected to systolically pulse data to one another;
a second arrangement of second processing units including at least fifth, sixth, seventh, and eighth processing units, wherein the fifth and sixth processing units are connected to systolically pulse data to one another, and wherein the seventh and eighth processing units are connected to systolically pulse data to one another;
a first interconnect between the second and seventh processing units, wherein the second processing unit is configured to systolically pulse data to the seventh processing unit along the first interconnect; and
a second interconnect between the third and sixth processing units, wherein the third processing unit is configured to systolically pulse data to the sixth processing unit along the second interconnect.

### Claim 2 (depends on 1)

The device of claim 1, wherein the first and second interconnects form a first pair of interconnects, wherein a number of pairs of interconnects connects the first arrangement of first processing units to the second arrangement of second processing units.

### Claim 3 (depends on 2)

The device of claim 2, wherein each of the first and second processing units includes a number of convolution engines equal to the number of pairs of interconnects.

### Claim 4 (depends on 2)

The device of claim 2, further comprising a second pair of interconnects, the second pair of interconnects including a third interconnect between an uppermost processing unit in the first arrangement and an uppermost processing unit in the second arrangement and a fourth interconnect between a lowermost processing unit in the first arrangement and a lowermost processing unit in the second arrangement.

### Claim 5 (depends on 4)

The device of claim 4, wherein, at each systolic pulse, each of the first and second processing units is configured to systolically pulse two pieces of data, each to a different one of the first and second processing units.

### Claim 6 (depends on 1)

The device of claim 1, wherein the device further includes a systolic processor chip, and wherein the first and second arrangements of first and second processing units comprise circuitry embedded in the systolic processor chip.

### Claim 7 (depends on 1)

The device of claim 1, wherein the second processing unit includes an output systolic element configured to tag an activation output generated by the second processing unit with an identifier, wherein the identifier indicates an address for the second processing unit.

### Claim 8 (depends on 7)

The device of claim 7, wherein the activation output including the tag is systolically pulsed to an input systolic element of the seventh processing unit.

### Claim 9 (depends on 8)

The device of claim 8, wherein the seventh processing unit is configured to:
receive the activation output and perform processing to generate an additional activation output, and
use the identifier to identify a weight to use for processing the activation output.

### Claim 10 (depends on 9)

The device of claim 9, wherein the weight is stored locally at the seventh processing unit.

### Claim 11 (depends on 9)

The device of claim 9, wherein the weight is retrieved from a memory external to the seventh processing unit.

### Claim 12 (depends on 1)

The device of claim 1, wherein at least a subset of the first processing units are assigned to perform computations of a first layer of the neural network, and wherein at least a subset of the second processing units are assigned to perform computations of a second layer of the neural network.

### Claim 13 (depends on 1)

The device of claim 1, wherein the first processing unit includes an input systolic element configured to receive data, a first processing circuit configured to perform processing of the received data to generate a first activation output, a first output systolic element, and a data tagger configured to tag the first activation output with an address of the first processing unit.

### Claim 14

A method for systolically processing data according to a neural network comprising at least a first layer and a second layer, the method comprising:
during a first systolic clock cycle, performing a first set of systolic pulses of data through at least first, second, third, and fourth processing units arranged along a first arrangement and at least fifth, sixth, seventh, and eighth processing units arranged along a second arrangement, the first set of systolic pulses including:
systolically pulsing data from the first processing unit of the first arrangement to the second processing unit of the first arrangement;
systolically pulsing data from the third processing unit of the first arrangement to the fourth processing unit of the first arrangement;
systolically pulsing data from the fifth processing unit of the second arrangement to the sixth processing unit of the second arrangement;
systolically pulsing data from the seventh processing unit of the second arrangement to an eighth processing unit of the second arrangement; and
systolically pulsing data from the second processing unit of the first arrangement to the seventh processing unit of the second arrangement;
wherein the second processing unit is configured to systolically pulse data to the seventh processing unit along a first interconnect between the first and second arrangements, and wherein the third processing unit is configured to systolically pulse data to the sixth processing unit along a second interconnect between the first and second arrangements.

### Claim 15 (depends on 14)

The method of claim 14, further comprising, during the first systolic clock cycle, performing a second set of systolic pulses including:
systolically pulsing data from the second processing unit of the first arrangement to the first processing unit of the first arrangement;
systolically pulsing data from the third processing unit of the first arrangement to the sixth processing unit of the second arrangement;
systolically pulsing data from the fourth processing unit of the first arrangement to the third processing unit of the first arrangement;
systolically pulsing data from the sixth processing unit of the second arrangement to the fifth processing unit of the second arrangement; and
systolically pulsing data from the eighth processing unit of the second arrangement to the seventh processing unit of the second arrangement.

### Claim 16 (depends on 15)

The method of claim 15, wherein the first set of systolic pulses travel in a first direction through the first and second arrangements, and wherein the second set of systolic pulses travel in a second direction through the first and second arrangements, wherein the first direction is opposite to the second direction.

### Claim 17 (depends on 14)

The method of claim 14, further comprising, during a second systolic clock cycle, performing a second set of systolic pulses including:
systolically pulsing, from the second processing unit of the first arrangement to the seventh processing unit of the second arrangement, the data received from the first processing unit during the first systolic clock cycle; and
systolically pulsing, from the third processing unit of the first arrangement to the sixth processing unit of the second arrangement, the data received from the fourth processing unit during the first systolic clock cycle.

### Claim 18 (depends on 17)

The method of claim 17, further comprising, via the seventh processing unit during the second systolic clock cycle, processing the data received from the second processing unit during the first systolic clock cycle, the processing performed according to computations of a node of the second layer of the neural network.

### Claim 19 (depends on 18)

The method of claim 18, further comprising, via the seventh processing unit during a third systolic clock cycle, processing the data received from the second processing unit during the second systolic clock cycle, the processing performed according to computations of the node of the second layer of the neural network.

### Claim 20 (depends on 18)

The method of claim 18, further comprising using a tag of the data received from the second processing unit to identify a weight to use for processing the data received from the second processing unit, the tag identifying that the data originated at the second processing unit.
