Inference engine circuit architecture

    公开(公告)号:US11675624B2

    公开(公告)日:2023-06-13

    申请号:US16833610

    申请日:2020-03-29

    摘要: An inference engine circuit architecture is disclosed which includes a matrix-matrix (MM) processor circuit and a MM accelerator circuit having multiple operating modes to provide a complete matrix multiplication. A representative MM accelerator circuit includes a first buffer circuit storing maps data; a first data network; multiple second buffer circuits each storing different kernel data; multiple second, serial data networks, with each coupled to a corresponding second buffer circuit; and a plurality of vector-vector (VV) acceleration circuits arranged in a plurality of arrays. Each VV acceleration circuit includes multiply and accumulate circuits; a shift register; a control multiplexer to provide a selected output, in response to a mode control word, of a bias parameter or a first accumulation sum; and a second adder circuit which adds the multiplicative product to the bias parameter or to the first accumulation sum to generate a second or next accumulation sum.

    OPERATION METHOD, PROCESSOR, AND RELATED PRODUCT

    公开(公告)号:US20230169144A1

    公开(公告)日:2023-06-01

    申请号:US17920372

    申请日:2021-02-08

    摘要: The present disclosure relates to an operation method, a processor, and related products that improve operation efficiency during matrix multiplication. The products include a storage component, an interface apparatus, a control component, and the an artificial intelligence chip. The artificial intelligence chip is connected to the storage component, the control component, and the interface apparatus, respectively. The storage component stores data. The interface apparatus implements data transfer between the artificial intelligence chip and an external device. The control component monitors a state of the artificial intelligence chip. .

    ELECTRONIC APPARATUS AND CONTROL METHOD THEREOF

    公开(公告)号:US20230153068A1

    公开(公告)日:2023-05-18

    申请号:US17425216

    申请日:2021-07-07

    IPC分类号: G06F7/523 G06F5/01

    CPC分类号: G06F7/523 G06F5/01

    摘要: An electronic apparatus is provided. The electronic apparatus includes: an input interface; a memory configured to store a plurality of weights corresponding to an artificial intelligence model; and a processor configured to perform a neural network computation with respect to input data provided through the input interface based on the plurality of weights. The processor is also configured to, based on any one or any combination of the input data, the plurality of weights, and a computation result obtained in a process of performing the neural network computation being within a threshold range, change an original value within the threshold range to a preset value and perform the neural network computation based on the preset value.

    NEURAL NETWORK ACCELERATOR
    48.
    发明申请

    公开(公告)号:US20230131035A1

    公开(公告)日:2023-04-27

    申请号:US18085939

    申请日:2022-12-21

    IPC分类号: G06N3/063 G06F7/485 G06F7/523

    摘要: Disclosed is a neural network accelerator including a first bit operator generating a first multiplication result by performing multiplication on first feature bits of input feature data and first weight bits of weight data, a second bit operator generating a second multiplication result by performing multiplication on second feature bits of the input feature data and second weight bits of the weight data, an adder generating an addition result by performing addition based on the first multiplication result and the second multiplication result, a shifter shifting a number of digits of the addition result depending on a shift value to generate a shifted addition result, and an accumulator generating output feature data based on the shifted addition result.

    Processing-in-memory (PIM) devices and methods of testing the PIM devices

    公开(公告)号:US11635942B2

    公开(公告)日:2023-04-25

    申请号:US17407540

    申请日:2021-08-20

    申请人: SK hynix Inc.

    发明人: Jeong Jun Lee

    IPC分类号: G06F7/544 G06F7/523 G06F7/501

    摘要: A processing-in-memory (PIM) device includes a multiplication/accumulation (MAC) operator. The MAC operator includes a multiplying block and an adding block. The multiplying block includes a first multiplier and a second multiplier. The first multiplier performs a first multiplying calculation of first half data of first data and first half data of second data. The second multiplier performs a second multiplying calculation of second half data of the first data and second half data of the second data. The adding block performs an adding calculation of first multiplication result data outputted from the first multiplier and second multiplication result data outputted from the second multiplier. The MAC operator receives a test mode signal having a first level to perform a test operation for the multiplying block.

    ERROR CALIBRATION APPARATUS AND METHOD

    公开(公告)号:US20230097158A1

    公开(公告)日:2023-03-30

    申请号:US17548575

    申请日:2021-12-12

    摘要: An error calibration apparatus and method are provided. The method is adapted for calibrating a machine learning (ML) accelerator. The ML accelerator achieves computation by using an analog circuit. An error between an output value of one or more computing layers of a neural network and a corresponding corrected value is determined. The computation of the computing layers is achieved by the analog circuit. A calibration node is generated according to the error. The calibration node is located at the next layer of the computing layers. The calibration node is used to minimize the error. The calibration node is achieved by a digital circuit. Accordingly, error and distortion of the analog circuit could be reduced.