Memory device and operating method thereof

    公开(公告)号:US11966628B2

    公开(公告)日:2024-04-23

    申请号:US17830471

    申请日:2022-06-02

    IPC分类号: G06F3/06

    摘要: A memory device, includes a memory array for storing a plurality of vector data each of which has an MSB vector and a LSB vector. The memory array includes a plurality of memory units each of which has a first bit and a second bit. The first bit is used to store the MSB vector of each vector data, the second bit is used to store the LSB vector of each vector data. A bit line corresponding to each vector data executes one time of bit-line-setup, and reads the MSB vector and the LSB vector of each vector data according to the bit line. The threshold voltage distribution of each memory unit is divided into N states, where N is a positive integer and N is less than 2 to the power of 2, and the effective bit number stored by each memory unit is less than 2.

    OPERATION METHOD FOR ARTIFICIAL NEURAL NETWORK

    公开(公告)号:US20210158160A1

    公开(公告)日:2021-05-27

    申请号:US17096575

    申请日:2020-11-12

    IPC分类号: G06N3/08 G06N3/04 G06F3/06

    摘要: An operation method of an artificial neural network is provided. The operation method includes: dividing input information into a plurality of sub-input information, and expanding kernel information to generate expanded kernel information; performing a Fast Fourier Transform (FFT) on the sub-input information and the expanded kernel information to respectively generate a plurality of frequency domain sub-input information and frequency domain expanded kernel information; respectively performing a multiplying operation on the frequency domain expanded kernel information and the frequency domain sub-input information to respectively generate a plurality of sub-feature maps; and performing an inverse FFT on the sub-feature maps to provide a plurality of converted sub-feature maps for executing a feature extraction operation of the artificial neural network.

    IN-MEMORY COMPUTING METHOD AND APPARATUS

    公开(公告)号:US20210326114A1

    公开(公告)日:2021-10-21

    申请号:US17217482

    申请日:2021-03-30

    摘要: 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.

    Memory device for neural networks

    公开(公告)号:US11526285B2

    公开(公告)日:2022-12-13

    申请号:US16564066

    申请日:2019-09-09

    IPC分类号: G06F3/06 G06N3/04

    摘要: A memory device includes: a memory array used for implementing neural networks (NN), the NN including a plurality of layers; and a controller coupled to the memory array, the controller being configured for: determining a computation duration of a first data of a first layer of the plurality of layers; selecting a first program operation if the computation duration of the first data of the first layer is shorter than a threshold; and selecting a second program operation if the computation duration of the first data of the first layer is longer than the threshold, wherein the second program operation has a longer program pulse time than the first program operation.