-
公开(公告)号:US12158839B2
公开(公告)日:2024-12-03
申请号:US17454900
申请日:2021-11-15
Abstract: The disclosure provides a method and an apparatus for allocating memory, and an electronic device. Multiple frames of speech data are received and input to a neural network model. The neural network model is configured to ask for multiple data tensors when processing the multiple frames of speech data, and the multiple data tensors share a common memory.
-
公开(公告)号:US11640319B1
公开(公告)日:2023-05-02
申请号:US17945166
申请日:2022-09-15
IPC: G06F9/48 , G06F12/0802 , G06F9/50
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.
-
公开(公告)号:US20220113943A1
公开(公告)日:2022-04-14
申请号:US17455100
申请日:2021-11-16
Inventor: Guanglai Deng , Chao Tian
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.
-
公开(公告)号:US20220147441A1
公开(公告)日:2022-05-12
申请号:US17454900
申请日:2021-11-15
Abstract: The disclosure provides a method and an apparatus for allocating memory, and an electronic device. Multiple frames of speech data are received and input to a neural network model. The neural network model is configured to ask for multiple data tensors when processing the multiple frames of speech data, and the multiple data tensors share a common memory.
-
公开(公告)号:US11340903B2
公开(公告)日:2022-05-24
申请号:US17210046
申请日:2021-03-23
Inventor: Junhui Wen , Chao Tian
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.
-
-
-
-