-
公开(公告)号:US11700014B2
公开(公告)日:2023-07-11
申请号:US17714631
申请日:2022-04-06
Applicant: Socionext Inc.
Inventor: Yoshinobu Hashimoto
CPC classification number: H03M7/6011 , G06N3/08 , H03M7/6005 , H03M7/70 , H03M7/46
Abstract: A weight data compression method includes: generating a 4-bit data string of 4-bit data items each expressed as any one of nine 4-bit values, by dividing ternary weight data into data items each having 4 bits; and generating first compressed data including a first flag value string and a first non-zero value string by (i) generating the first flag value string by assigning one of 0 and 1 as a first flag value of a 1-bit flag to a 4-bit data item 0000 and assigning an other of 0 and 1 as a second flag value of the 1-bit flag to a 4-bit data item other than 0000 among the 4-bit data items in the 4-bit data string and (ii) generating the first non-zero value string by converting the 4-bit data item other than 0000 into a 3-bit data item having any one of eight 3-bit values.