Patent ID: 11907844
Assignee: SHANGHAI CAMBRICON INFORMATION TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  Y | IPC G

Claim 5:
6. The processing device of claim 5, wherein the coarse-grained pruning unit is specifically configured to:
perform coarse-grained pruning on the weights of the fully connected layer, where the sliding window is a two-dimensional sliding window with a size of Bin*Bout, Bin is a positive integer greater than 0 and less than or equal to Nin, and Bout is a positive integer greater than 0 and less than or equal to Nout;
make the sliding window slide Sin stride in a direction of Bin, or slide Sout stride in a direction of Bout, where Sin is a positive integer greater than 0 and less than or equal to Bin, and Sout is a positive integer greater than 0 and less than or equal to Bout; and
select M weights from Nin*Nout weights through the sliding window, and when the M weights meet the preset condition, all or part of the M weights are set to 0, where M=Bin*Bout.