Language source program generation method and device for neural network processor

A neural network algorithm and neural network technology, applied in the field of computer and artificial intelligence, can solve the problems of lack, time-consuming, and manpower consumption, and achieve the effect of easy writing and efficient parallel programming method

Pending Publication Date: 2019-10-08
SHANGHAI CAMBRICON INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Most of the neural network processors currently proposed are programmed by handwritten instructions. This method is very time-consuming and labor-intensive. It is also prone to errors and difficult to debug.
[0005] 2. At the same time, if the writers are not familiar with the structure of the hardware, it is difficult to write very efficient instruction codes
Lack of a straightforward, efficient method for parallel development to produce efficient parallel programs

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
  • Language source program generation method and device for neural network processor
  • Language source program generation method and device for neural network processor
  • Language source program generation method and device for neural network processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0049] The source program generation method for a neural network processor provided according to an embodiment of the present disclosure includes: mapping a neural network algorithm to an abstract concept in a programming language, wherein elements in the neural network algorithm correspond to elements in the abstract concept one by one; Map abstract concepts in programming languages ​​into source programs.

[0050] figure 1 It is the flow structure of the source program generation method for the neural network processor disclosed in the present disclosure. The neural network algorithm is first mapped to the abstract concept in the programming language (that is, the concept in the assembly language), and then mapped ...

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 discloses a source program generation method and device for a neural network processor, and the method comprises the steps: enabling a neural network algorithm to be mapped into abstractconcepts in a programming language, wherein elements in the neural network algorithm is in one-to-one correspondence with elements in the abstract concepts; mapping an abstraction concept in a programming language into a source program. According to the method, the abstract neural network concept can be directly mapped into codes in a source program, a programmer does not need to face boring instructions, and the programmer can use the advanced abstract neural network concept for programming.

Description

technical field [0001] The present disclosure relates to the field of computers, and further relates to the field of artificial intelligence. Background technique [0002] Deep neural network algorithm is a very popular machine learning algorithm recently, which is widely used in various fields, such as image recognition, speech recognition, natural language processing, etc. Since the deep neural network has achieved good results in various tasks, a variety of network structures and algorithms emerge in an endless stream, which brings challenges to programming development. For the neural network processor, due to its unique hardware structure and the characteristics of intensive calculation and memory access of the neural network algorithm running on it, programming becomes more complicated and difficult. [0003] During the process of implementing the present disclosure, the applicant found the following problems in the above-mentioned prior art: [0004] 1. Most of the n...

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/04
CPCG06F8/314G06N3/04
Inventor 不公告发明人
Owner SHANGHAI CAMBRICON INFORMATION 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