Data processing method and apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsHuaman Zhou, Youhui Bai, Sen Wang, Renhai Chen, Gong Zhang, Changshan Zhang, Yong Fu, Jiewen Ran, Fuhua Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsHuaman Zhou, Youhui Bai, Sen Wang, Renhai Chen, Gong Zhang, Changshan Zhang, Yong Fu, Jiewen Ran, Fuhua Li
Estimating the term…
This application provides a data processing method and apparatus, and relates to the computer field. The method includes: determining a first result O′ of performing calculation on a first matrix, a first submatrix K′, and a second submatrix V′ based on a self-attention mechanism, where the first matrix is a query matrix Q or a submatrix of the matrix Q, the first submatrix K′ is a submatrix of a key matrix K, and the second submatrix V′ is a submatrix of a value matrix V The computing core determines a second result O″ of performing calculation on the first matrix, a third submatrix K″, and a fourth submatrix V″ based on the self-attention mechanism.
A data processing method, wherein the method is applied to a chip, the chip comprises a computing core, and the method comprises:
A chip, comprising a computing core, wherein the computing core comprises a memory and a processor, the memory is configured to store computer instructions, when the processor run the computer instructions, the processor is caused to:
A computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to:
Dependencies are inferred from the claim text.