Neural network compiler configuration method and device, computer equipment and storage medium

A technology of neural network and configuration method, applied in the direction of neural learning method, biological neural network model, creation/generation of source code, etc., can solve the problem of poor optimization effect of compiler configuration and achieve the effect of improving the optimization effect of compiler configuration

Active Publication Date: 2021-11-26
SHENZHEN SMARTMORE TECH CO LTD +1
View PDF8 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current neural network compiler configuration method needs to rely on experts' handwritten rules to optimize the calculation graph, so the compiler configuration optimization effect for neural network models with emerging operators or model structures is poor

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 compiler configuration method and device, computer equipment and storage medium
  • Neural network compiler configuration method and device, computer equipment and storage medium
  • Neural network compiler configuration method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0037] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this application are authorized by the user. Or information and data that have been fully authorized by all parties; correspondingly, this application also provides a corresponding user authorization portal for users to choose to authorize or choose to refuse.

[0038] In one embodiment, such as figure 1 As shown, a method for configuring ...

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 relates to a neural network compiler configuration method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring a target neural network model and an initial calculation graph corresponding to the target neural network model, wherein the initial calculation graph comprises a plurality of operators; dividing the plurality of operators to obtain a plurality of operator sets; determining a plurality of operator type combinations respectively corresponding to each operator set, and obtaining operator operation time corresponding to each operator type combination to obtain a plurality of operator operation times respectively corresponding to each operator set; taking the operator type combination with the shortest operator operation time in the plurality of operator type combinations as a target operator type combination corresponding to each operator set; and generating a target calculation graph of the target neural network model according to the target operator type combination corresponding to each operator set, and generating compiler configuration information for the target neural network model according to the target calculation graph. By adopting the method, the configuration optimization effect of the neural network model compiler can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a neural network compiler configuration method, device, computer equipment and storage medium. Background technique [0002] With the development of computer technology, neural network models have been used more and more widely, but neural network models still face huge challenges in computing performance. At present, in order to realize the efficient calculation of the neural network model, the calculation performance of the neural network model is usually improved by optimizing the configuration of the compiler of the neural network model. [0003] In traditional technology, the optimization configuration of the compiler of the neural network model is usually based on the handwritten rules of experts. By splitting the calculation graph of the neural network model into multiple sub-graphs according to the splitting rules experienced by experts, and then separately M...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06N3/063G06N3/08
Inventor 白杨余蓓沈小勇吕江波贾佳亚
Owner SHENZHEN SMARTMORE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products