Unlock instant, AI-driven research and patent intelligence for your innovation.

Neural network calculation graph processing method, computer storage medium and electronic equipment

A neural network and processing method technology, applied in the field of artificial intelligence algorithms, can solve the problems that the processing method of the neural network calculation graph cannot fully utilize the coordination to complete the overall task, and the computing equipment has low computing efficiency, so as to improve flexibility and computing efficiency Effect

Inactive Publication Date: 2020-09-29
ECARX (HUBEI) TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the edge computing inference platform with heterogeneous architecture, when there are computing devices such as central processing units, graphics processing units, tensor processors, application-specific integrated circuits, and field programmable logic gate arrays in the computing devices, the existing neural network computing graph The processing method cannot make full use of them to cooperate to complete the overall task
Specifically, for example, it is impossible to map each operator to a computing device that matches the characteristics of each operator according to the characteristics of the control logic complexity and calculation amount of each operator in the neural network calculation graph, resulting in the computational efficiency of the computing device relatively low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Neural network calculation graph processing method, computer storage medium and electronic equipment
  • Neural network calculation graph processing method, computer storage medium and electronic equipment
  • Neural network calculation graph processing method, computer storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In the prior art, there are many general-purpose machine learning platforms, such as Google's Tensorflow, Keras, Pytorch, and Baidu's PaddlePaddle. In these platforms, the operators of the neural network and the connection relationship of the operators are defined.

[0042] These platforms can generally be divided into front-end and back-end. The following uses Tensorflow as an example to describe the architecture of the platform. figure 1 It is a schematic diagram of the system architecture diagram of Tensorflow in the prior art. see figure 1 , the front end is provided to the end user, as a user programming interface, it can provide c / c++ version, python version, java version and other programming language version of the application program interface, which is convenient for users to write their own neural network models and generate neural network calculation graphs. A neural network calculation graph is a combination of data including various operators, parameter...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a neural network calculation graph processing method, a computer storage medium and electronic equipment. The neural network calculation graph processing method comprises the steps of obtaining a program code for creating a required neural network model based on a demand of a user for creating the neural network model; generating a calculation graph of the required neural network model according to the program code; carrying out format conversion on the calculation graph to obtain a target calculation graph, wherein the target calculation graph comprises a plurality of operators and connection relations among the operators; according to the characteristics of the operators, mapping the operators to operation equipment matched with the characteristics of the operatorsto obtain a mapping relation table of the operation equipment and the operators; and according to the mapping relation table, loading each operator into operation equipment matched with the operatorfor calculation. According to the mapping relation table, the operators are loaded into the arithmetic devices matched with the operators for calculation, the advantages of each arithmetic device canbe brought into full play, and the arithmetic efficiency of the arithmetic devices is improved.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence algorithms, in particular to a processing method of a neural network calculation graph, a computer storage medium and electronic equipment. Background technique [0002] In the existing methods for processing neural network calculation graphs, each operator in the neural network calculation graph can only run on an ASIC (Application Specific Integrated Circuit, ASIC), Graphic Processing Unit (Graphic Processing Unit) within the same running time. , GPU), tensor processor (Tensor Processing Unit, TPU) computing equipment, or run in the central processing unit (Central Processing Unit, CPU), programmable logic gate array (Field-Programmable Gate Array, FPGA) computing equipment . For the edge computing inference platform with heterogeneous architecture, when there are computing devices such as central processing units, graphics processing units, tensor processors, application-specif...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06N3/10G06N3/04
CPCG06N3/10G06N3/048G06N3/045G06N3/044
Inventor 李林峰黄海荣
Owner ECARX (HUBEI) TECH CO LTD