# US 2021/0004238 A1 · Calculating device

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

- Number: US 2021/0004238 A1
- Document ID: US20210004238A1
- Status: Published application
- Kind: A1
- Application number: 17/027,744
- Filed: 2020-09-22
- Published: 2021-01-07
- Earliest claimed: 2018-03-09
- Assignees: Kabushiki Kaisha Toshiba
- Applicants: Kabushiki Kaisha Toshiba
- Inventors: Kosuke TATSUMURA; Hayato GOTO
- Web page: https://patentgrep.com/patent/US20210004238A1

## CPC

- G06F 9/3893: {controlled in tandem, e.g. multiplier-accumulator}
- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06F 7/57: Arithmetic logic units [ALU], i.e. arrangements or devices for performing two or more of the operations covered by groups G06F7/483 – G06F7/556 or for performing logical operations {(G06F7/49, G06F7/491 take precedence)}
- G06F 7/72: using residue arithmetic
- G06F 9/3001: {Arithmetic instructions}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one embodiment, a calculating device includes a first memory, a second memory, a third memory, a first arithmetic module, a second arithmetic module, a first conductive line electrically connecting a first output terminal of the first memory and a first input terminal of the first arithmetic module, a second conductive line electrically connecting a second output terminal of the first memory and a first input terminal of the second arithmetic module, a third conductive line electrically connecting a first output terminal of the second memory and a second input terminal of the second arithmetic module, a fourth conductive line electrically connecting a first output terminal of the third memory and a third input terminal of the second arithmetic module, and a fifth conductive line electrically connecting a first output terminal of the second arithmetic module and a second input terminal of the first arithmetic module.

## Claims

### Claim at position 1

1-16. (canceled)

### Claim 17

A calculating device, comprising:
a first memory;
a second memory;
a third memory;
a first arithmetic module; and
a second arithmetic module,
wherein
the first memory stores a first variable group {x},
the second memory stores a second variable group {y},
the third memory stores a first parameter group {J},
the first variable group {x} includes N (N being an integer of 2 or more) ith entries of a first variable xi (i being an integer not less than 1 and not more than N),
the second variable group {y} includes N ith entries of a second variable yi (i being an integer not less than 1 and not more than N),
the first parameter group {J} includes N×N first parameters Jl,m (l being an integer not less than 1 and not more than N, and m being an integer not less than 1 and not more than N),
the first arithmetic module update the ith entry of the first variable xi based on the ith entry of the second variable yi,
the second arithmetic module update the ith entry of the second variable yi based on at least at least a part of the first parameter group {J} and at least a part of the first variable group {x}.

### Claim 18 (depends on 17)

The device according to claim 17, wherein
an output of the first memory is input to the first arithmetic module,
the output of the first memory is input to the second arithmetic module,
an output of the second memory is input to the second arithmetic module,
an output of the third memory is input to the second arithmetic module, and
an output of the second arithmetic module is input to the first arithmetic module.

### Claim 19 (depends on 17)

The device according to claim 17, wherein
a plurality of multiplications performed based on the at least a part of the first parameter group {J} and the at least a part of the first variable group {x} are performed in parallel.

### Claim 20 (depends on 17)

The device according to claim 17, wherein
a part of the first arithmetic module performs updating the ith entry of the second variable yi,
another part of the first arithmetic module performs updating the jth entry of the second variable yi U being an integer not less than 1 and not more than N, and different from the i).

### Claim 21 (depends on 19)

The device according to claim 19, wherein
a part of the first arithmetic module performs updating the ith entry of the second variable yi,
another part of the first arithmetic module performs updating the jth entry of the second variable yi (j being an integer not less than 1 and not more than N, and different from the i).

### Claim 22 (depends on 17)

The device according to claim 17, further comprising a plurality of first wires and a plurality of second wires,
the first parameter group {J} including an N×N matrix (N being an integer of 2 or more),
the second arithmetic module including Pr multiply-accumulate modules (Pr being an integer not less than 2 and not more than N, and being a divisor of N), one of the Pr multiply-accumulate modules including Pc multipliers (Pc being an integer not less than 2 and not more than N, and being a divisor of N), Pr corresponding to a degree of parallelism of rows of the matrix, Pc corresponding to a degree of parallelism of columns of the matrix,
the first memory including Pc first memory blocks of the first memory partitioned into Pc memory blocks,
the third memory including Pc third memory blocks of the third memory partitioned into Pc memory blocks,
one of the plurality of first wires connecting one of the Pc first memory blocks and all of the Pr multiply-accumulate modules,
another one of the plurality of first wires connecting another one of the Pc first memory blocks and all of another Pr multiply-accumulate modules,
one of the plurality of second wires connecting one of the Pc third memory blocks and one of the Pr multiply-accumulate modules,
another one of the plurality of second wires connecting the one of the Pc third memory blocks and another one of the Pr multiply-accumulate modules.

### Claim 23 (depends on 22)

The device according to claim 22, wherein at least one of the Pr multiply-accumulate modules includes at least one of a multiplier including a decoder or a multiplier including a data type converter.

### Claim 24

A calculating device, comprising:
a first memory;
a second memory;
a third memory;
a first arithmetic module; and
a second arithmetic module,
wherein
the first memory stores a first variable group {x},
the second memory stores a second variable group {y},
the third memory stores a first parameter group {J},
the first variable group {x} includes N (N being an integer of 2 or more) ith entries of a first variable xi (i being an integer not less than 1 and not more than N),
the second variable group {y} includes N ith entries of a second variable yi (i being an integer not less than 1 and not more than N),
the first parameter group {J} includes N×N first parameters Jl,m (l being an integer not less than 1 and not more than N, and m being an integer not less than 1 and not more than N),
the first arithmetic module performs a first variable update and a first sub-update,
the second arithmetic module performs a second sub-update,
the first variable update includes updating the ith entry of the first variable xi based on the ith entry of the second variable yi,
the first sub-update includes updating the ith entry of the second variable yi based on the ith entry of the first variable xi, and
the second sub-update includes updating the ith entry of the second variable yi based on at least a part of the first parameter group {J} and at least a part of the first variable group {x}.

### Claim 25 (depends on 24)

The device according to claim 24, wherein
an output of the first memory is input to the first arithmetic module,
the output of the first memory is input to the second arithmetic module,
an output of the second memory is input to the second arithmetic module,
an output of the third memory is input to the second arithmetic module, and
an output of the second arithmetic module is input to the first arithmetic module.

### Claim 26 (depends on 24)

The device according to claim 24, wherein
a plurality of multiplications performed based on the at least a part of the first parameter group {J} and the at least a part of the first variable group {x} are performed in parallel.

### Claim 27 (depends on 24)

The device according to claim 24, wherein
a part of the first arithmetic module performs updating the ith entry of the second variable yi,
another part of the first arithmetic module performs updating the jth entry of the second variable yi U being an integer not less than 1 and not more than N, and different from the i).

### Claim 28 (depends on 26)

The device according to claim 26, wherein
a part of the first arithmetic module performs updating the ith entry of the second variable yi,
another part of the first arithmetic module performs updating the jth entry of the second variable yi (j being an integer not less than 1 and not more than N, and different from the i).

### Claim 29 (depends on 24)

The device according to claim 24, further comprising a plurality of first wires and a plurality of second wires,
the first parameter group {J} including an N×N matrix (N being an integer of 2 or more),
the second arithmetic module including Pr multiply-accumulate modules (Pr being an integer not less than 2 and not more than N, and being a divisor of N), one of the Pr multiply-accumulate modules including Pc multipliers (Pc being an integer not less than 2 and not more than N, and being a divisor of N), Pr corresponding to a degree of parallelism of rows of the matrix, Pc corresponding to a degree of parallelism of columns of the matrix,
the first memory including Pc first memory blocks of the first memory partitioned into Pc memory blocks,
the third memory including Pc third memory blocks of the third memory partitioned into Pc memory blocks,
one of the plurality of first wires connecting one of the Pc first memory blocks and all of the Pr multiply-accumulate modules,
another one of the plurality of first wires connecting another one of the Pc first memory blocks and all of another Pr multiply-accumulate modules,
one of the plurality of second wires connecting one of the Pc third memory blocks and one of the Pr multiply-accumulate modules,
another one of the plurality of second wires connecting the one of the Pc third memory blocks and another one of the Pr multiply-accumulate modules.

### Claim 30 (depends on 29)

The device according to claim 29, wherein at least one of the Pr multiply-accumulate modules includes at least one of a multiplier including a decoder or a multiplier including a data type converter.
