Patent ID: 11960421
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Basic communication processes (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 16:
17. An operation accelerator, comprising:
one or more processors; and
a non-transitory computer readable medium storing a program to be executed by the one or more processors, wherein the program comprises instructions that cause the one or more processors to perform operations comprising:
storing, in a first buffer, first input data;
storing, in a second buffer, weight data;
obtaining a computation result by performing matrix multiplication on the first input data and the weight data;
storing, in a third buffer, a control instruction, wherein the control instruction instructs whether to compress the computation result;
obtaining the control instruction from the third buffer;
when the control instruction comprises instructions to compress the computation result, obtaining compressed data by compressing the computation result; and
storing the compressed data in a memory outside the operation accelerator.