# US 2023/0274158 A1 · Device and method for neural network computing, and board and readable storage medium

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

- Number: US 2023/0274158 A1
- Document ID: US20230274158A1
- Status: Published application
- Kind: A1
- Application number: 18/003,682
- Filed: 2021-09-23
- Published: 2023-08-31
- Earliest claimed: 2020-09-28
- Assignees: Cambricon Technologies Corporation Limited
- Applicants: Cambricon Technologies Corporation Limited
- Inventors: Huiying LAN; Ruitao WANG; Haizhao LUO; Bo CAO; Xunyu CHEN
- Web page: https://patentgrep.com/patent/US20230274158A1

## CPC

- G06N 3/063: using electronic means
- G06N 3/10: Interfaces, programming languages or software development kits, e.g. for simulating neural networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure relates to an apparatus and a method for performing neural network computing, a board card, and a readable storage medium. The computing apparatus of the present disclosure is included in an integrated circuit apparatus. The integrated circuit apparatus includes a general interconnection interface and other processing apparatus. The computing apparatus interacts with other processing apparatus to jointly complete a computing operation specified by a user. The integrated circuit apparatus further includes a storage apparatus. The storage apparatus is connected to the computing apparatus and other processing apparatus, respectively. The storage apparatus is used for data storage of the computing apparatus and other processing apparatus.

## Claims

### Claim 1

An integrated circuit apparatus for performing neural network computing, comprising:
a processing apparatus configured to create a template fuse unit;
a compiler configured to convert the template fuse unit into an object code;
a linker configured to link the object code with a library to form an executable file; and
a computing apparatus configured to perform the executable file to implement the neural network computing.

### Claim 2 (depends on 1)

The integrated circuit apparatus of claim 1, wherein, when creating the template fuse unit, the processing apparatus is configured to:
select a starting layer of the template fuse unit according to a starting rule of a fusion policy; and
perform a fusion based on the starting layer and check rules of the fusion policy to create the template fuse unit.

### Claim 3 (depends on 1)

The integrated circuit apparatus of claim 1, wherein, when converting the template fuse unit into the object code, the compiler derives a shape of the template fuse unit.

### Claim 4 (depends on 3)

The integrated circuit apparatus of claim 3, wherein the compiler performs a reverse derivation forward from outputs for required input data and redundancy.

### Claim 5 (depends on 3)

The integrated circuit apparatus of claim 3, wherein the compiler derives an address of on-chip storage space of a whole control flow graph and implements access to a general address.

### Claim 6 (depends on 5)

The integrated circuit apparatus of claim 5, wherein the compiler is configured to:
divide basic blocks initially according to a division of the template fuse unit; and
confirm the basic blocks and mutual relations between the basic blocks after iterative operations.

### Claim 7 (depends on 5)

The integrated circuit apparatus of claim 5, wherein the compiler is configured to:
judge how much data in a previous template fuse unit is able to be used by a next template fuse unit; and
plan the address of on-chip storage space according to a judging result.

### Claim 8 (depends on 7)

The integrated circuit apparatus of claim 7, wherein the processing apparatus allocates on-chip storage space according to the address of on-chip storage space.

### Claim 9

A board card, comprising an integrated circuit apparatus that includes:
a processing apparatus configured to create a template fuse unit;
a compiler configured to convert the template fuse unit into an object code;
a linker configured to link the object code with a library to form an executable file; and
a computing apparatus configured to perform the executable file to implement the neural network computing.

### Claim at position 10

10-18. (canceled)

### Claim 19 (depends on 9)

The board card of claim 9, wherein the processing apparatus is further configured to: select a starting layer of the template fuse unit according to a starting rule of a fusion policy; and perform a fusion based on the starting layer and check rules of the fusion policy to create the template fuse unit.

### Claim 20 (depends on 9)

The board card of claim 9, wherein the compiler derives a shape of the template fuse unit in converting the template fuse unit into the object code.

### Claim 21 (depends on 20)

The board card of claim 20, wherein the compiler performs a reverse derivation forward from outputs for required input data and redundancy.

### Claim 22 (depends on 20)

The board card of claim 20, wherein the compiler derives an address of on-chip storage space of a whole control flow graph and implements access to a general address.

### Claim 23 (depends on 22)

The board card of claim 22, wherein the compiler is configured to:
divide basic blocks initially according to a division of the template fuse unit; and
confirm the basic blocks and mutual relations between the basic blocks after iterative operations.

### Claim 24 (depends on 22)

The board card of claim 22, wherein the compiler is configured to:
judge how much data in a previous template fuse unit is able to be used by a next template fuse unit; and
plan the address of on-chip storage space according to a judging result.

### Claim 25 (depends on 24)

The board card of claim 24, wherein the processing apparatus allocates on-chip storage space according to the address of on-chip storage space.
