# US 2022/0295080 A1 · Method, computing device and computer readable storage medium for computing

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

- Number: US 2022/0295080 A1
- Document ID: US20220295080A1
- Status: Published application
- Kind: A1
- Application number: 17/691,134
- Filed: 2022-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Shanghai Biren Technology Co., Ltd
- Applicants: Shanghai Biren Technology Co.,Ltd
- Inventors: YuFei ZHANG; Zhou HONG
- Web page: https://patentgrep.com/patent/US20220295080A1

## CPC

- G06T 1/60: Memory management
- G06F 17/153: {Multidimensional correlation or convolution}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/61: in combination with predictive coding
- G06N 3/063: using electronic means
- H04N 19/176: the region being a block, e.g. a macroblock
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure relates to a method for computing, computing device and computer-readable storage medium. The method includes: determining a pixel block set in a cache, a first pixel block in the pixel block set comprising an m×n pixel matrix having a first padding setting related to the original pixel data, the m and n being positive integers; and storing the determined pixel block set in a buffer to enable a second pixel block to be read from the buffer based on the buffer initial address of the first pixel block and an address offset associated with the second pixel block, wherein the second pixel block has a second padding setting related to the original pixel data, and the first padding setting and the second padding setting have the same offset amount in a first direction relative to the original pixel data.

## Claims

### Claim 1

A method for computing, comprising:
determining a pixel block set in a cache, a first pixel block in the pixel block set comprising an m×n pixel matrix having a first padding setting related to original pixel data, the m and n being positive integers; and
storing the pixel block set in a buffer to enable a second pixel block to be read from the buffer based on a buffer initial address of the first pixel block and an address offset associated with the second pixel block,
wherein the second pixel block has a second padding setting related to the original pixel data, and the first padding setting and the second padding setting have the same offset amount in a first direction relative to the original pixel data.

### Claim 2 (depends on 1)

The method according to claim 1, wherein pixel data in a line from m lines or pixel data in a column from n columns occupy an entry of the buffer and the entry has a corresponding buffer address.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the pixel block set comprises 2 pixel blocks, and each pixel block comprises an 8×8 pixel matrix.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the first direction is a horizontal direction or vertical direction.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the first padding setting is different than the second padding setting.

### Claim 6 (depends on 1)

The method according to claim 1, wherein when a filter size is 3×3 the original pixel data have 9 different padding settings including the first padding setting and the second padding setting.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the original pixel data have multiple different padding settings, and reading the second pixel block from the buffer comprises:
reading a plurality of second pixel blocks from the buffer, the plurality of second pixel blocks having respective padding settings, the respective padding settings having the same offset amount in the first direction relative to the original pixel data.

### Claim 8 (depends on 1)

The method according to claim 1, further comprising:
determining, based on a filter size related to the original pixel data, the first padding setting.

### Claim 9 (depends on 1)

A computing device, comprising:
at least one processing unit; and
at least one memory coupled to the at least one processing unit and storing instructions executed by the at least one processing unit, the instructions causing, when executed by the at least one processing unit, the computing device to perform the method of claim 1.

### Claim 10 (depends on 9)

The computing device according to claim 9, wherein the computing device comprises a vector processor.

### Claim 11 (depends on 9)

The computing device according to claim 9, wherein the computing device is used for artificial intelligence.

### Claim 12 (depends on 1)

A non-transitory computer readable storage medium having computer instructions stored thereon, wherein the computer instructions are used to cause a machine to perform the method of claim 1.
