# US 2025/0148046 A1 · Method of generating fft value and electronic device for performing the method

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

- Number: US 2025/0148046 A1
- Document ID: US20250148046A1
- Status: Published application
- Kind: A1
- Application number: 18/830,101
- Filed: 2024-09-10
- Published: 2025-05-08
- Earliest claimed: 2023-11-02
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: KIHA KIM; DONGJIN LEE; JUNHWAN LEE; YONGDEOK KIM; GEUNTAE BAE
- Web page: https://patentgrep.com/patent/US20250148046A1

## CPC

- G06F 17/142: {Fast Fourier transforms, e.g. using a Cooley-Tukey type algorithm}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of performing a fast Fourier transform (FFT) operation for a plurality of input values includes generating a plurality of sub-input data sets based on a plurality of input values, each having an index in a first dimension and an index in a second dimension, calculating a plurality of intermediate values by performing an FFT on each of the plurality of sub-input data sets, calculating partial FFT values for the plurality of input values based on the plurality of intermediate values, and generating a plurality of FFT value sets for the plurality of input values based on the partial FFT values.

## Claims

### Claim 1

A method, performed by an electronic device, of generating fast Fourier transform (FFT) values for a plurality of multi-dimensional input values, the method comprising:
generating a plurality of sub-input data sets by classifying a plurality of input values, each having an index in a first dimension and an index in a second dimension, based on an even index in the first dimension, an odd index in the first dimension, an even index in the second dimension, and an odd index in the second dimension, wherein the plurality of sub-input data sets comprises
a first sub-input data set that includes input values of the plurality of input values that have an even index in the first dimension and an even index in the second dimension,
a second sub-input data set that includes input values of the plurality of input values that have an odd index in the first dimension and an even index in the second dimension,
a third sub-input data set that includes input values of the plurality of input values that have an even index in the first dimension and an odd index in the second dimension, and
a fourth sub-input data set that includes input values of the plurality of input values that have an odd index in the first dimension and an odd index in the second dimension;
calculating a first intermediate value by performing an FFT on the first sub-input data set;
calculating a second intermediate value by performing an FFT on the second sub-input data set;
calculating a third intermediate value by performing an FFT on the third sub-input data set;
calculating a fourth intermediate value by performing an FFT on the fourth sub-input data set;
calculating a first value for the plurality of input values based on the first intermediate value;
calculating a second value for the plurality of input values based on the second intermediate value;
calculating a third value for the plurality of input values based on the third intermediate value;
calculating a fourth value for the plurality of input values based on the fourth intermediate value; and
generating a plurality of FFT value sets for the plurality of input values based on the first value, the second value, the third value, and the fourth value.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating the plurality of sub-input data sets comprises arranging the first sub-input data set in first dimension in a memory of the electronic device through all-to-all communication.

### Claim 3 (depends on 2)

The method of claim 2, wherein
the plurality of input values is stored in a plurality of distributed memories of the electronic device, and
the memory is one of the plurality of distributed memories.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first intermediate value, the second intermediate value, the third intermediate value, and the fourth intermediate value are calculated through a first pipeline, a second pipeline, a third pipeline, and a fourth pipeline, respectively.

### Claim 5 (depends on 1)

The method of claim 1, wherein calculating the first intermediate value by performing the FFT on the first sub-input data set comprises:
calculating a first partial value by performing a primary FFT on the first sub-input data set; and
calculating the first intermediate value by performing a secondary FFT on the first partial value.

### Claim 6 (depends on 5)

The method of claim 5, wherein
calculating the first intermediate value by performing the FFT on the first sub-input data set further comprises arranging the first partial value in a second dimension in a memory of the electronic device through all-to-all communication, and
calculating the first intermediate value by performing the secondary FFT on the first partial value comprises calculating the first intermediate value by performing the secondary FFT on the first partial value arranged in the second dimension in the memory of the electronic device.

### Claim 7 (depends on 1)

The method of claim 1, wherein generating the plurality of FFT value sets for the plurality of input values based on the first value, the second value, the third value, and the fourth value comprises generating a first FFT value set of the plurality of FFT value sets by summing the first value, the second value, the third value, and the fourth value.

### Claim 8 (depends on 1)

The method of claim 1, wherein generating the plurality of FFT value sets for the plurality of input values based on the first value, the second value, the third value, and the fourth value comprises generating a second FFT value set of the plurality of FFT value sets by summing the first value, a negative value of the second value, the third value, and a negative value of the fourth value.

### Claim 9 (depends on 1)

The method of claim 1, wherein generating of plurality of FFT value sets for the plurality of input values based on the first value, the second value, the third value, and the fourth value comprises generating a third FFT value set of the plurality of FFT value sets by summing the first value, the second value, a negative value of the third value, and a negative value of the fourth value.

### Claim 10 (depends on 1)

The method of claim 1, wherein generating the plurality of FFT value sets for the plurality of input values based on the first value, the second value, the third value, and the fourth value comprises generating a fourth FFT value set of the plurality of FFT value sets by summing the first value, a negative value of the second value, a negative value of the third value, and the fourth value.

### Claim 11 (depends on 1)

A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, causes the processor to perform the method of claim 1.

### Claim 12

An electronic device, comprising:
a processor; and
a memory,
wherein the processor is configured to:
generate a plurality of sub-input data sets by classifying a plurality of input values, each having an index in a first dimension and an index in a second dimension, based on an even index in the first dimension, an odd index in the first dimension, an even index in the second dimension, and an odd index in the second dimension, wherein the plurality of sub-input data sets comprises
a first sub-input data set that includes input values of the plurality of input values that have an even index in the first dimension and an even index in the second dimension,
a second sub-input data set that includes input values of the plurality of input values that have an odd index in the first dimension and an even index in the second dimension,
a third sub-input data set that includes input values of the plurality of input values that have an even index in the first dimension and an odd index in the second dimension, and
a fourth sub-input data set that includes input values of the plurality of input values that have an odd index in the first dimension and an odd index in the second dimension;
calculate a first intermediate value by performing an FFT on the first sub-input data set;
calculate a second intermediate value by performing an FFT on the second sub-input data set;
calculate a third intermediate value by performing an FFT on the third sub-input data set;
calculate a fourth intermediate value by performing an FFT on the fourth sub-input data set;
calculate a first value, a second value, a third value, and a fourth value for the plurality of input values based on the first intermediate value, the second intermediate value, the third intermediate value, and the fourth intermediate value; and
generate a plurality of FFT value sets for the plurality of input values based on the first value, the second value, the third value, and the fourth value.

### Claim 13 (depends on 12)

The electronic device of claim 12, wherein the processor is configured to arrange the first sub-input data set in the first dimension in the memory of the electronic device through all-to-all communication.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein
the memory is one of a plurality of distributed memories, and
the plurality of input values is stored in the plurality of distributed memories of the electronic device.

### Claim 15 (depends on 12)

The electronic device of claim 12, wherein the processor is configured to:
calculate a first partial value by performing a primary FFT on the first sub-input data set; and
calculate the first intermediate value by performing a secondary FFT on the first partial value.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein the processor is further configured to:
arrange the first partial value in the second dimension in the memory of the electronic device through all-to-all communication; and
calculate the first intermediate value by performing the secondary FFT on the first partial value arranged in the second dimension in the memory of the electronic device.

### Claim 17 (depends on 12)

The electronic device of claim 12, wherein the processor is configured to generate a first FFT value set of the plurality of FFT value sets by summing the first value, the second value, the third value, and the fourth value.

### Claim 18 (depends on 12)

The electronic device of claim 12, wherein the processor is configured to generate a second FFT value set of the plurality of FFT value sets by summing the first value, a negative value of the second value, the third value, and a negative value of the fourth value.

### Claim 19

A method, performed by an electronic device, of generating fast Fourier transform (FFT) values for a plurality of multi-dimensional input values, the method comprising:
generating a plurality of sub-input data sets by classifying a plurality of input values, each having an index in a first dimension and an index in a second dimension, based on an even index in the first dimension, an odd index in the first dimension, an even index in the second dimension, and an odd index in the second dimension, wherein the plurality of sub-input data sets comprises a first sub-input data set, a second sub-input data set, a third sub-input data set, and a fourth sub-input data set;
calculating a first intermediate value by performing an FFT on the first sub-input data set;
calculating a second intermediate value by performing an FFT on the second sub-input data set;
calculating a third intermediate value by performing an FFT on the third sub-input data set;
calculating a fourth intermediate value by performing an FFT on the fourth sub-input data set;
calculating a first value for the plurality of input values based on the first intermediate value;
calculating a second value for the plurality of input values based on the second intermediate value;
calculating a third value for the plurality of input values based on the third intermediate value;
calculating a fourth value for the plurality of input values based on the fourth intermediate value; and
generating a plurality of FFT value sets for the plurality of input values based on the first value, the second value, the third value, and the fourth value,
wherein the first intermediate value, the second intermediate value, the third intermediate value, and the fourth intermediate value are calculated through a first pipeline, a second pipeline, a third pipeline, and a fourth pipeline, respectively.

### Claim 20 (depends on 19)

The method of claim 19, wherein
the first sub-input data set includes input values of the plurality of input values that have an even index in the first dimension and an even index in the second dimension,
the second sub-input data set includes input values of the plurality of input values that have an odd index in the first dimension and an even index in the second dimension,
the third sub-input data set includes input values of the plurality of input values that have an even index in the first dimension and an odd index in the second dimension, and
the fourth sub-input data set includes input values of the plurality of input values that have an odd index in the first dimension and an odd index in the second dimension.
