# US 2026/0073205 A1 · Neural processors supporting winograd convolutions

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

- Number: US 2026/0073205 A1
- Document ID: US20260073205A1
- Status: Published application
- Kind: A1
- Application number: 18/827,818
- Filed: 2024-09-08
- Published: 2026-03-12
- Earliest claimed: 2024-09-08
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Lei WANG; Ji Liang Song; Ming Chak J. Ko
- Web page: https://patentgrep.com/patent/US20260073205A1

## CPC

- G06N 3/063: using electronic means
- G06N 3/045: Combinations of networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments relate to a neural processor circuit including an input transformation circuit and a neural engine circuit including a kernel transformation circuit configured to generate a number of intermediate kernel parameters. The input transformation circuit can generate, at a first time instance, a first set of intermediate input parameters corresponding to a first subsequence of input parameters for a first pair of convolutions based on the number of intermediate kernel parameters; generate, at the first time instance, a second set of intermediate input parameters corresponding to a second subsequence of input parameters for a second pair of convolutions based on the number of intermediate kernel parameters; and generate, at a second time instance after the first time instance, a third set of intermediate input parameters corresponding to a third subsequence of input parameters for a third pair of convolutions based on the number of intermediate kernel parameters.

## Claims

### Claim 1

A neural processor circuit, comprising:
an input transformation circuit configured to:
generate, at a first time instance, a first set of intermediate input parameters corresponding to a first subsequence of input parameters for a first pair of convolutions;
generate, at the first time instance, a second set of intermediate input parameters corresponding to a second subsequence of input parameters for a second pair of convolutions; and
generate, at a second time instance after the first time instance, a third set of intermediate input parameters corresponding to a third subsequence of input parameters for a third pair of convolutions, wherein the first pair of convolutions, the second pair of convolutions, and the third pair of convolutions are based on a number of convolutional kernel parameters; and
a neural engine circuit coupled to the input transformation circuit and comprising a kernel transformation circuit configured to generate a number of intermediate kernel parameters based on the number of convolutional kernel parameters;
wherein the first pair of convolutions are based on the first set of intermediate input parameters and the number of intermediate kernel parameters, the second pair of convolutions are based on the second set of intermediate input parameters and the number of intermediate kernel parameters, and the third pair of convolutions are based on the third set of intermediate input parameters and the number of intermediate kernel parameters.

### Claim 2 (depends on 1)

The neural processor circuit of claim 1, wherein the input transformation circuit is external to the neural engine circuit and further coupled to another neural engine circuit, wherein the first set of intermediate input parameters, the second set of intermediate input parameters, and the third set of intermediate input parameters are provided to the neural engine circuit and the other neural engine circuit.

### Claim 3 (depends on 1)

The neural processor circuit of claim 1, wherein a sequence of input parameters comprises the first subsequence of input parameters, the second subsequence of input parameters, and the third subsequence of input parameters, and an input parameter of the sequence of input parameters comprises a floating point number.

### Claim 4 (depends on 1)

The neural processor circuit of claim 1, wherein the input transformation circuit comprises:
a first transformation circuit configured to generate the first set of intermediate input parameters;
a second transformation circuit configured to generate the second set of intermediate input parameters; and
a third transformation circuit configured to generate the third set of intermediate input parameters, and wherein the first transformation circuit, the second transformation circuit, and the third transformation circuit comprise a same set of circuits coupled to a same set of connections.

### Claim 5 (depends on 1)

The neural processor circuit of claim 1, wherein the neural engine circuit further comprises:
a first pair of accumulators coupled to the kernel transformation circuit and configured to generate a first pair of convolution values for the first pair of convolutions at a first time instance after the number of intermediate kernel parameters have been generated and to generate a third pair of convolution values for the third pair of convolutions at a second time instance after the number of intermediate kernel parameters have been generated; and
a second pair of accumulators coupled to the kernel transformation circuit and configured to generate a second pair of convolution values for the second pair of convolutions at the first time instance after the number of intermediate kernel parameters have been generated.

### Claim 6 (depends on 1)

The neural processor circuit of claim 1, wherein the input transformation circuit is configured to generate, at the second time instance, a fourth set of intermediate input parameters corresponding to a fourth subsequence of input parameters, wherein the fourth pair of convolutions are based on the fourth set of intermediate input parameters and the number of intermediate kernel parameters.

### Claim 7 (depends on 6)

The neural processor circuit of claim 6, wherein the input transformation circuit further comprises:
a first storage device configured to store the first set of intermediate input parameters and the second set of intermediate input parameters generated at the first time instance; and
a second storage device configured to store the third set of intermediate input parameters and the fourth set of intermediate input parameters generated at the second time instance.

### Claim 8 (depends on 1)

The neural processor circuit of claim 1, further comprising a plurality of multipliers corresponding to the number of intermediate kernel parameters, wherein a multiplier of the plurality of multipliers is configured to multiply an intermediate kernel parameter by an intermediate input parameter selected from the first set of intermediate input parameters, the second set of intermediate input parameters, and the third set of intermediate input parameters.

### Claim 9

A method performed by a neural processor circuit, comprising:
generating, by an input transformation circuit, a first set of intermediate input parameters corresponding to a first subsequence of input parameters for a first pair of convolutions;
generating, by the input transformation circuit, a second set of intermediate input parameters corresponding to a second subsequence of input parameters for a second pair of convolutions;
generating, by the input transformation circuit, a third set of intermediate input parameters corresponding to a third subsequence of input parameters for a third pair of convolutions, wherein the first pair of convolutions, the second pair of convolutions, and the third pair of convolutions are based on a number of convolutional kernel parameters;
generating, by a kernel transformation circuit, a number of intermediate kernel parameters, wherein the number of intermediate kernel parameters is larger than a number of convolutional kernel parameters;
generating, by a first pair of accumulators, a first pair of convolution values for the first pair of convolutions at a first time instance based on the number of intermediate kernel parameters;
generating, by the first pair of accumulators, a third pair of convolution values for the third pair of convolutions at a second time instance based on the number of intermediate kernel parameters; and
generating, by a second pair of accumulators, a second pair of convolution values for the second pair of convolutions at the first time instance based on the number of intermediate kernel parameters.

### Claim 10 (depends on 9)

The method of claim 9, wherein the number of convolutional kernel parameters comprises 3 convolutional kernel parameters (g0, g1, g2), the first subsequence of input parameters comprises a first group of 3 input parameters (d0, d1, d2) and a second group of 3 input parameters (d1, d2, d3), wherein a first convolution value (o0) of the first pair of convolutions is defined by o0=(d0·g0)+(d1·g1)+(d2·g2) and a second convolution value (o1) of the first pair of convolutions is defined by o1=(d1·g0)+(d2·g1)+(d3·g2).

### Claim 11 (depends on 10)

The method of claim 10, wherein generating the number of intermediate kernel parameters comprises generating 4 intermediate kernel parameters (u0, u1, u2, u3) defined by
u
o
=
g
0
,
u
1
=
(
g
0
+
g
1
+
g
2
)
/
2
,
u
2
=
(
g
0
-
g
1
+
g
2
)
/
2
,
and
⁢
u
3
=
g
2
.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first subsequence of input parameters comprises (d0, d1, d2, d3), wherein the generating the first pair of convolution values comprises generating the first convolution value (o0) and the second convolution value (o1) based on 4 intermediate input parameters (v0, v1, v2, v3) defined by v0=(d0−d2), v1=(d1+d2), v2=(d2−d1), and v3=(d1−d3).

### Claim 13 (depends on 12)

The method of claim 12, wherein the generating the first pair of convolution values comprises:
generating 4 products (m0, m1, m2, m3) defined by m0=(u0·v0), m1=(u1·v1), m2=(u2·v2), and m3=(u3·v3);
generating the first convolution value (o0) defined by o0=(m0+m1+m2); and
generating the second convolution value (O1) defined by o1=(m1−m2−m3).

### Claim 14

A neural processor circuit, comprising:
an input transformation circuit configured to:
generate, at a first time instance, a first subset of a first set of intermediate input parameters corresponding to a first subsequence of input parameters for a first pair of convolutions, and a first subset of a second set of intermediate input parameters corresponding to a second subsequence of input parameters for a second pair of convolutions;
generate, at a second time instance, a second subset of the first set of intermediate input parameters, and a second subset of the second set of intermediate input parameters, wherein the first pair of convolutions and the second pair of convolutions are based on a number of convolutional kernel parameters;
a neural engine circuit coupled to the input transformation circuit and comprising:
a kernel transformation circuit configured to generate at the first time instance a first subset of a set of intermediate kernel parameters based on the number of convolutional kernel parameters and to generate at the second time instance a second subset of the set of intermediate kernel parameters;
a first accumulator coupled to the kernel transformation circuit and configured to generate a first set of partial results of a first pair of convolution values for the first pair of convolutions and a first set of partial results of a second pair of convolution values for the second pair of convolutions; and
a second accumulator coupled to the kernel transformation circuit and configured to generate a second set of partial results of the first pair of convolution values, and a second set of partial results of the second pair of convolution values.

### Claim 15 (depends on 14)

The neural processor circuit of claim 14, wherein the number of convolutional kernel parameters comprises 3 convolutional kernel parameters (g0, g1, g2), wherein the first subset of the set of intermediate kernel parameters comprises intermediate kernel parameters (u0, u3) defined by u0=g0 and u3=g2, and wherein the second subset of the set of intermediate kernel parameters comprises intermediate kernel parameters (u1, u2) defined by u1=(g0+g1+g2)/2 and u2=(g0−g1+g2)/2.

### Claim 16 (depends on 14)

The neural processor circuit of claim 14, wherein the first subsequence of input parameters comprises (d0, d1, d2, d3), the first subset of the first set of intermediate input parameters comprises intermediate input parameters (v0, v3) defined by v0=(d0−d2) and v3=(d1−d3), and wherein the second subset of the first set of intermediate input parameters comprises intermediate input parameters (v1, v2) defined by v1=(d1+d2) and v2=(d2−d1).

### Claim 17 (depends on 16)

The neural processor circuit of claim 16, wherein the first set of partial results of the first pair of convolution values comprises 2 products (m0, m3) defined by m0=(u0·v0) and m3=(u3·v3), and the second set of partial results of the first pair of convolution values comprises 2 products (m1, m2) defined by m1=(u1·v1) and m2=(u2·v2).

### Claim 18 (depends on 17)

The neural processor circuit of claim 17, wherein the first pair of convolution values comprises a first convolution value (o0) defined by o0=(m0+m1+m2) and a second convolution value (O1) defined by o1=(m1−m2−m3).

### Claim 19 (depends on 14)

The neural processor circuit of claim 14, wherein the input transformation circuit is further configured to:
generate, at the first time instance, a first subset of a third set of intermediate input parameters corresponding to a third subsequence of input parameters for a third pair of convolutions, and a first subset of a fourth set of intermediate input parameters corresponding to a fourth subsequence of input parameters for a fourth pair of convolutions; and
generate, at the second time instance, a second subset of the third set of intermediate input parameters and a second subset of the fourth set of intermediate input parameters, wherein the third pair of convolutions and the fourth pair of convolutions are based on the number of convolutional kernel parameters;
wherein the first accumulator is configured to generate a first set of partial results of a third pair of convolution values for the third pair of convolutions, and a first set of partial results of a fourth pair of convolution values for the fourth pair of convolutions; and
the second accumulator is configured to generate a second set of partial results of the third pair of convolution values, and a second set of partial results of the fourth pair of convolution values.

### Claim 20 (depends on 19)

The neural processor circuit of claim 19, wherein the first subsequence of input parameters comprises (d0, d1, d2, d3), the second subsequence of input parameters comprises (d2, d3, d4, d5), the third subsequence of input parameters comprises (d4, d5, d6, d7), the fourth subsequence of input parameters comprises (d6, d7, d8, d9), a first union sequence for the first subsequence and the third subsequence comprises (d0, d1, d2, d3, d4, d5, d6, d7), and a second union sequence for the second subsequence and the fourth subsequence comprises (d2, d3, d4, d5, d6, d7, d8, d9), and wherein the first union sequence represents a block of data points of an image and the second union sequence represents data points of a part of the block of data points plus two over-fetched data points of the block corresponding to input parameters (d8, d9).
