Back to results
US 11,238,130 B2Granted
Signal processing method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorRuosheng Xu
Life of this patent
Estimating the term…
Abstract
A signal processing method and apparatus, where the method includes partitioning a signal matrix to obtain X×H fractal signal matrices, partitioning a weight matrix to obtain H×Y fractal weight matrices, obtaining an operation sequence of X×H×Y matrix multiplications based on performance parameters, and processing the X×H×Y matrix multiplications to obtain X×Y result matrices, where the operation sequence of the X×H×Y matrix multiplications is obtained.
Claims20
A signal processing method comprising:
- receiving a signal matrix and a weight matrix;
- partitioning the signal matrix to obtain X×H fractal signal matrices;
- partitioning the weight matrix to obtain H×Y fractal weight matrices, wherein the X×H fractal signal matrices and the H×Y fractal weight matrices form X×H×Y matrix multiplications;
- obtaining an operation sequence of the X×H×Y matrix multiplications based on performance parameters, wherein the performance parameters comprise power consumption of reading an X×H fractal signal matrix from a first cache, power consumption of reading an H×Y fractal weight matrix from a second cache, and power consumption of reading an operation result of an X×H×Y matrix multiplication from a third cache;
- processing the X×H×Y matrix multiplications based on the operation sequence to obtain X×Y result matrices by accumulating operation results of a plurality of the X×H×Y matrix multiplications;
- and
- outputting a signal processing result that comprises the X×Y result matrices.
4 more elements
A signal processing apparatus comprising:
- an input interface configured to receive a signal matrix and a weight matrix;
- a processor coupled to the input interface and configured to:
- partition the signal matrix to obtain X×H fractal signal matrices;
- partition the weight matrix to obtain H×Y fractal weight matrices, wherein the X×H fractal signal matrices and the H×Y fractal weight matrices form X×H×Y matrix multiplications;
- obtain an operation sequence of the X×H×Y matrix multiplications based on performance parameters, wherein the performance parameters comprise power consumption of reading an X×H fractal signal matrix from a first cache, power consumption of reading an H×Y fractal weight matrix from a second cache, and power consumption of reading an operation result of an X×H×Y matrix multiplications from a third cache;
- and
- process the X×H×Y matrix multiplications based on the operation sequence to obtain X×Y result matrices by accumulating operation results of a plurality of the X×H×Y matrix multiplications;
- and
- an output interface coupled to the processor and configured to output a signal processing result that comprises the X×Y result matrices.
6 more elements
Dependencies are inferred from the claim text.