Patent ID: 11915138
Assignee: ALIBABA GROUP HOLDING LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of a computer to cause the computer to perform a method for reducing a size of a neural network model, the method comprising:
compressing data of the neural network model;
identifying structure information of a vector register, wherein the structure information includes a number of registers included in the vector register;
comparing a number of elements in the compressed data of the neural network model with a first condition, wherein the first condition is determined based on the number of registers in the vector register;
in response to the number of elements satisfying the first condition, associating the compressed data of the neural network model with the vector register to enable loading the compressed data of the neural network model to the vector register;
in response to the number of elements satisfying the first condition, sending an indication to end compression of the data;
comparing the number of elements in the compressed data of the neural network model with a second condition, wherein the second condition is determined based on the number of registers in the vector register, and is different from the first condition; and
adjusting a structure of the vector register in response to the number of elements satisfying the second condition,
wherein satisfying the first condition comprises being equal to or smaller than the number of registers in the vector register, and wherein satisfying the second condition comprises being equal to or smaller than one half of the number of registers in the vector register.