Electronic device and control method thereof

    公开(公告)号:US11294677B2

    公开(公告)日:2022-04-05

    申请号:US17098683

    申请日:2020-11-16

    IPC分类号: G06F9/30 G06F8/41 G06F9/54

    摘要: An electronic device and a control method thereof are disclosed. The electronic device includes: a memory storing input data, and a processor including a first register file and a second register file storing index data corresponding to kernel data, wherein the processor is configured to: based on a first command being input, obtain offset information of valid data included in a part of the index data stored in the first register file, based on the number of pieces of the offset information being greater than or equal to a predetermined number, store data packed with the offset information in a unit of the predetermined number in the second register file, and obtain output data by performing an operation regarding the input data based on the packed data.

    Electronic apparatus and control method thereof

    公开(公告)号:US11113361B2

    公开(公告)日:2021-09-07

    申请号:US16295599

    申请日:2019-03-07

    IPC分类号: G06F17/15 H03M7/30 H03K19/20

    摘要: An electronic apparatus is provided. The electronic apparatus includes a storage storing object data and kernel data, and a processor including a plurality of processing elements arranged in a matrix formation, wherein the processor is configured to input corresponding first elements among a plurality of first elements included in the object data into processing elements arranged in a first row among the plurality of processing elements, and input a plurality of second elements included in the kernel data sequentially into the processing elements arranged in the first row to perform operations between the corresponding first elements and the plurality of second elements, to identify a depth in which a first element and a second element have a non-zero value, and to input the first element and the second element corresponding to the identified depth into a calculator included in each of the processing elements arranged in the first row to perform a convolution operation.