Neural network compiler configuration method, 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, compiler construction, 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: 2022-02-22
SHENZHEN SMARTMORE TECH CO LTD +1
View PDF8 Cites 0 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, device, computer equipment and storage medium
  • Neural network compiler configuration method, device, computer equipment and storage medium
  • Neural network compiler configuration method, 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 all 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 entry for users to choose to authorize or choose to refuse.

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

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 present application relates to a neural network compiler configuration method, device, computer equipment and storage medium. The method includes: obtaining a target neural network model and an initial calculation graph corresponding to the target neural network model; the initial calculation graph includes a plurality of operators; dividing the plurality of operators to obtain a plurality of operator sets; determining each operator Combinations of multiple operator types corresponding to each set, and obtain the operator running time corresponding to each operator type combination, and obtain the multiple operator running times corresponding to each operator set; combine multiple operator types, and calculate The operator type combination with the smallest running time is used as the target operator type combination corresponding to each operator set; the target calculation graph of the target neural network model is generated according to the target operator type combination corresponding to each operator set, and the target calculation graph is generated based on the target calculation graph. Compiler configuration information for the target neural network model. The method can improve the configuration optimization effect of the neural network model compiler.

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 Patents(China)
IPC IPC(8): G06F8/30G06N3/063G06N3/08
CPCG06F8/37G06N3/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