Neural network data computation using mixed-precision
Abstract
Techniques for mixed-precision data manipulation for neural network data computation are disclosed. A first left group comprising eight bytes of data and a first right group of eight bytes of data are obtained for computation using a processor. A second left group comprising eight bytes of data and a second right group of eight bytes of data are obtained. A sum of products is performed between the first left and right groups and the second left and right groups. The sum of products is performed on bytes of 8-bit integer data. A first result is based on a summation of eight values that are products of the first group's left eight bytes and the second group's left eight bytes. A second result is based on the summation of eight values that are products of the first group's left eight bytes and the second group's right eight bytes. Results are output.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 1.
Claims (8)
- Claim 1Independent Claim
A processor-implemented method for data manipulation comprising: obtaining, from input data associated with a neural network, a first left group comprising eight bytes of data from a first row of a first matrix and a first right group of eight bytes of data from a second row of the first matrix for computation using a processor; obtaining, from the input data, a second left group comprising eight bytes of data from a first column of a second matrix and a second right group of eight bytes of data from a second column of the second matrix; performing a sum of products between the first left and right groups and the second left and right groups, wherein the sum of products is performed on bytes of 8-bit integer data, and wherein: a first result is based on a summation of eight values that are products of the first group's left eight bytes and the second group's left eight bytes; and a second result is based on the summation of eight values that are products of the first group's left eight
- Claim 2Depends on #1
The method of claim 1, wherein the input data comprises training data for training the neural network.
- Claim 3Depends on #1
The method of claim 1, wherein the neural network comprises a trained neural network, and the input data comprises inference data to be evaluated by the neural network.
- Claim 4Depends on #1
The method of claim 1, wherein the neural network comprises a plurality of layers, and the input data comprises a set of weights defining at least one of the plurality of layers of the neural networks.
- Claim 5Depends on #3
The method of claim 3, wherein the plurality of layers comprise a plurality of hidden layers.
- Claim 6Depends on #1
The method of claim 1, wherein the neural network data processing comprises machine learning.
- Claim 7Depends on #1
The method of claim 1, wherein the neural network data processing comprises image processing.
- Claim 8Depends on #1
The method of claim 1, wherein the neural network data processing comprises machine vision.
Technical Overview & Description
RELATED APPLICATIONS This application is a continuation of, and claims the benefit of, U.S. patent application Ser. No. 18/114,044, filed 24 Feb. 2023. U.S. patent application Ser. No. 18/114,044 is a continuation of, and claims the benefit of, U.S. patent application Ser. No. 16/985,307, filed Aug. 5, 2020. U.S. patent application Ser. No. 16/985,307 claims the benefit of U.S. provisional patent application “ Neural Network Data Computation Using Mixed-Precision ” Ser. No. 62/883,155, filed Aug. 6, 2019. U.S. patent application Ser. No. 16/985,307 is also a continuation-in-part of U.S. patent application “ Neural Network Processing Using Mixed-Precision Data Representation ” Ser. No. 16/778,258, filed Jan. 31, 2020, which claims the benefit of U.S. provisional patent applications “ Neural Network Processing Using Mixed-Precision Data Representation ” Ser. No. 62/800,431, filed Feb. 2, 2019, “ Mixed-Precision Data Computation for Neural Network Reduction Operands ” Ser. No. 62/867,966, filed Jun. 28, 2019, and “ Neural Network Data Computation Using Mixed-Precision ” Ser. No. 62/883,155, filed Aug. 6, 2019. The U.S. patent application “ Neural Network Processing Using Mixed-Precision Data Representation ” Ser. No. 16/778,258, filed Jan. 31, 2020 is also a continuation-in-part of U.S. patent application “ Neural Network Processing Using Specialized Data Representation ” Ser. No. 16/704,263, filed Dec. 5, 2019, which claims the benefit of U.S. provisional patent applications “ Neural Network Processing Using Specialized Data Representation ” Ser. No. 62/776,032, filed Dec. 6, 2018, “ Address Manipulation Using Indices and Tags ” Ser. No. 62/791,788, filed Jan. 12, 2019,
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,699,873 B2 | Neural network processing using mixed-precision data representation | 2026 | 0 |
References Cited — Backward Prior Art (31)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (1)
- Machine Translation of Japanese Patent Application JP 2021535393 A, filed Aug. 30, 2018. (Year: 2018).