Patent ID: 11861498
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 5:
6. The method according to claim 5, wherein the thinning parameters in the to-be-compressed neural network model according to the target value, the first bit width and the second bit width to obtain the first neural network model comprises:
taking continuous parameters with a number corresponding to a number of the target values in the to-be-compressed neural network model as a parameter unit;
sorting the parameters contained in the parameter unit according to an ascending order of absolute values;
obtaining a zero setting quantity according to the first bit width, the second bit width and the target value; and
setting parameters in the parameter unit of the to-be-compressed neural network model before the zero setting quantity to zero to obtain the first neural network model.