NETWORK-ON-CHIP DATA PROCESSING METHOD AND DEVICE

    公开(公告)号:US20220121599A1

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

    申请号:US17564431

    申请日:2021-12-29

    IPC分类号: G06F13/40 G06N3/04

    摘要: The present application relates to a network-on-chip data processing method. The method is applied to a network-on-chip processing system, the network-on-chip processing system is used for executing machine learning calculation, and the network-on-chip processing system comprises a storage device and a calculation device. The method comprises: accessing the storage device in the network-on-chip processing system by means of a first calculation device in the network-on-chip processing system and obtaining first operation data; performing an operation on the first operation data by means of the first calculation device to obtain a first operation result; and sending the first operation result to a second calculation device in the network-on-chip processing system. According to the method, operation overhead can be reduced and data read/write efficiency can be improved.

    DATA PROCESSING METHOD AND APPARATUS, AND RELATED PRODUCT

    公开(公告)号:US20220083909A1

    公开(公告)日:2022-03-17

    申请号:US17361633

    申请日:2021-06-29

    IPC分类号: G06N20/00

    摘要: The present disclosure relates to a method, a device, and related products for processing data. In an embodiment of the present disclosure, when processing data related to a neural network, an optimal truncation threshold value for a plurality of pieces of data is determined. The data is truncated through the truncation data threshold, and the plurality of pieces of data is quantized from a high-precision format to a low-precision format. The method in the present disclosure can ensure the precision of data processing as high as possible while reducing the amount of data processing. In addition, the method also helps to significantly reduce the amount of data transmission, thereby greatly accelerating the data exchange among a plurality of computing devices.

    NETWORK-ON-CHIP DATA PROCESSING METHOD AND DEVICE

    公开(公告)号:US20220035762A1

    公开(公告)日:2022-02-03

    申请号:US17278812

    申请日:2019-10-18

    IPC分类号: G06F13/40 G06N3/04

    摘要: The present application relates to a network-on-chip data processing method. The method is applied to a network-on-chip processing system, the network-on-chip processing system is used for executing machine learning calculation, and the network-on-chip processing system comprises a storage device and a calculation device. The method comprises: accessing the storage device in the network-on-chip processing system by means of a first calculation device in the network-on-chip processing system, and obtaining first operation data; performing an operation on the first operation data by means of the first calculation device to obtain a first operation result; and sending the first operation result to a second calculation device in the network-on-chip processing system. According to the method, operation overhead can be reduced and data read/write efficiency can be improved.

    CALCULATION METHOD AND RELATED PRODUCT

    公开(公告)号:US20210224069A1

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

    申请号:US16745743

    申请日:2020-01-17

    IPC分类号: G06F9/30 G06F9/38

    摘要: The present disclosure provides a computing method that is applied to a computing device. The computing device includes: a memory, a register unit, and a matrix computing unit. The method includes the following steps: controlling, by the computing device, the matrix computing unit to obtain a first operation instruction, where the first operation instruction includes a matrix reading instruction for a matrix required for executing the instruction; controlling, by the computing device, an operating unit to send a reading command to the memory according to the matrix reading instruction; and controlling, by the computing device, the operating unit to read a matrix corresponding to the matrix reading instruction in a batch reading manner, and executing the first operation instruction on the matrix. The technical solutions in the present disclosure have the advantages of fast computing speed and high efficiency.

    General machine learning model, and model file generation and parsing method

    公开(公告)号:US11036480B2

    公开(公告)日:2021-06-15

    申请号:US17130469

    申请日:2020-12-22

    摘要: Disclosed are a general machine learning model generation method and apparatus, and a computer device and a storage medium. The method comprises: acquiring task parameters of a machine learning task (S1201); performing classification processing on the task parameters to obtain task instructions and model parameters (S1202); aggregating the task instructions and the model parameters according to a data type to obtain stack data and heap data (S1203); and integrating the stack data and the heap data to obtain a general machine learning model (S1204). By means of the method, compiled results of a corresponding general model in the running of an algorithm can be directly executed, which avoids repetitive compilation, thus greatly improving the efficiency of machine learning algorithm implementation and shortening the time from compilation to obtaining execution results.

    INFORMATION PROCESSING METHOD AND TERMINAL DEVICE

    公开(公告)号:US20210150685A1

    公开(公告)日:2021-05-20

    申请号:US17119148

    申请日:2020-12-11

    摘要: Disclosed are an information processing method and a terminal device. The method comprises: acquiring first information, wherein the first information is information to be processed by a terminal device; calling an operation instruction in a calculation apparatus to calculate the first information so as to obtain second information; and outputting the second information. By means of the examples in the present disclosure, a calculation apparatus of a terminal device can be used to call an operation instruction to process first information, so as to output second information of a target desired by a user, thereby improving the information processing efficiency. The present technical solution has advantages of a fast computation speed and high efficiency.

    GENERAL MACHINE LEARNING MODEL, AND MODEL FILE GENERATION AND PARSING METHOD

    公开(公告)号:US20210109729A1

    公开(公告)日:2021-04-15

    申请号:US17130469

    申请日:2020-12-22

    摘要: Disclosed are a general machine learning model generation method and apparatus, and a computer device and a storage medium. The method comprises: acquiring task parameters of a machine learning task (S1201); performing classification processing on the task parameters to obtain task instructions and model parameters (S1202); aggregating the task instructions and the model parameters according to a data type to obtain stack data and heap data (S1203); and integrating the stack data and the heap data to obtain a general machine learning model (S1204). By means of the method, compiled results of a corresponding general model in the running of an algorithm can be directly executed, which avoids repetitive compilation, thus greatly improving the efficiency of machine learning algorithm implementation and shortening the time from compilation to obtaining execution results.