- 专利标题: In-memory computing method and apparatus
-
申请号: US17217482申请日: 2021-03-30
-
公开(公告)号: US12050888B2公开(公告)日: 2024-07-30
- 发明人: Wei-Chen Wang , Chien-Chung Ho , Yuan-Hao Chang , Tei-Wei Kuo
- 申请人: MACRONIX International Co., Ltd.
- 申请人地址: TW Hsinchu
- 专利权人: MACRONIX International Co., Ltd.
- 当前专利权人: MACRONIX International Co., Ltd.
- 当前专利权人地址: TW Hsinchu
- 代理机构: J.C. PATENTS
- 主分类号: H03M5/00
- IPC分类号: H03M5/00 ; G06F7/544 ; G06F7/76 ; G06N3/04 ; G06N3/08 ; G11C13/00 ; H03M7/04 ; H03M7/24
摘要:
An in-memory computing method and apparatus, adapted for a processor to perform MAC operations on a memory, are provided. In the method, a format of binary data of weights is transformed from a floating-point format into a quantized format by truncating at least a portion of fraction bits of the binary data and calculating complements of remaining bits, and programming the transformed binary data into cells of the memory. A tuning procedure is performed by iteratively inputting binary data of input signals into the memory, integrating outputs of the memory, and adjusting the weights programmed to the cells based on the integrated outputs. The binary data of the weights is reshaped based on a probability of reducing bits with a value of one in the binary data of each weight. The tuning procedure is repeated until an end condition is met.
公开/授权文献
- US20210326114A1 IN-MEMORY COMPUTING METHOD AND APPARATUS 公开/授权日:2021-10-21
信息查询