Task processing method and apparatus, electronic device and storage medium

    公开(公告)号:US11640319B1

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

    申请号:US17945166

    申请日:2022-09-15

    Abstract: A task processing method, an electronic device and a storage medium, which relate to the field of artificial intelligence, such as intelligent voices, artificial intelligence chips, or the like, are disclosed. The method may include: for to-be-executed tasks, in at least one round of processing, performing the following operations: in response to determining that one or more high-priority tasks exist in the to-be-executed tasks, calling the one or more high-priority tasks to process audio data cached in a memory; and after execution of the one or more high-priority tasks is completed, and in response to determining that one or more low-priority task exist in the to-be-executed tasks, calling the one or more low-priority tasks to process the audio data.

    METHOD FOR MULTIPLY-ADD OPERATIONS FOR NEURAL NETWORK

    公开(公告)号:US20220113943A1

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

    申请号:US17455100

    申请日:2021-11-16

    Abstract: The disclosure provides a method for multiply-add operations for a neural network. The method includes: determining types of respective pieces of data to be calculated based on a multiply-add operation request; in a condition of the type of each piece of the data to be calculated is a type of single-precision floating point, compressing mantissa of each pieces of the data to be calculated to obtain each compressed mantissa; splitting each compressed mantissa according to a preset rule and determining high digits and low digits of the compressed mantissa; and performing a multiply-add operation on each compressed mantissa based on the high digits and low digits of the compressed mantissa.

    Processing method, device, equipment and storage medium of loop instruction

    公开(公告)号:US11340903B2

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

    申请号:US17210046

    申请日:2021-03-23

    Abstract: The present application discloses a processing method, device, equipment and storage medium of a loop instruction, and relates to the fields of voice and chips. A specific embodiment is: acquiring a computer program including a first loop body, where the first loop body is generated according to a second loop body in a software code to be compiled, the first loop body includes a plurality of first loop instructions, the plurality of first loop instructions can be identified by a hardware structure of a computer device; in the case that the first loop body is detected, determining loop parameters of the first loop body according to the plurality of first loop instructions; acquiring the plurality of first loop instructions according to the loop parameters of the first loop body; executing the plurality of first loop instructions.

Patent Agency Ranking