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

Claim 7:
8. The processing device of claim 5, wherein the coarse-grained pruning unit is further configured to:
perform coarse-grained pruning on the weights of the LSTM layer, a size of the sliding window is Bin_i*Bout_i, where Bin_i is a positive integer greater than 0 and less than or equal to Nin_i, and Bout_i is a positive integer greater than 0 and less than or equal to Nout_i;
make the sliding window slide Sin_i stride in a direction of Bin_i, or slide Sout_i stride in a direction of Bout_i, where Sin_i is a positive integer greater than 0 and less than or equal to Bin_i, and Sout_i is a positive integer greater than 0 and less than or equal to Bout_i; and
select M weights from Bin_i*Bout_i 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_i*Bout_i.