APPARATUS AND METHOD OF PROCESSING DATA, ELECTRONIC DEVICE, AND STORAGE MEDIUM

    公开(公告)号:US20240126610A1

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

    申请号:US18520646

    申请日:2023-11-28

    IPC分类号: G06F9/50

    摘要: An apparatus and a method of processing data, an electronic device, and a storage medium are provided, which relate to a field of artificial intelligence, and in particular to fields of chip and multi-thread parallel technologies. The apparatus includes: a first target storage unit; and a processor configured to: determine an initial number of threads according to a data amount of target data and a capacity of the first target storage unit in response to determining that the data amount is less than or equal to the capacity of the first target storage unit, where the target data includes input data to be processed, weight data to be processed, and output data; and determine a first number of executable tasks according to the initial number of threads in response to determining that the initial number of threads is greater than or equal to a predetermined number of threads.