Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Executable program generation device and method 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 prone to errors, lack of programming methods for neural network processors, difficult to debug, etc., to achieve the effect of ensuring efficiency

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

AI Technical Summary

Problems solved by technology

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 computationally intensive and memory-intensive characteristics of the neural network algorithm running on it, programming becomes more complicated and difficult.
The neural network processors currently proposed are programmed by handwritten instructions, which is very time-consuming and labor-intensive, and it is also prone to errors and difficult to debug.
[0003] In the process of implementing the present disclosure, the applicant found the following problems in the above-mentioned prior art: the neural network processor lacks effective programming means and efficient code generation device, which makes its programming very difficult and the generated code is inefficient. It is difficult to give full play to the advantages of the neural network processor

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0040] In this disclosure, since the neural network processor has a special hardware structure, it needs a special programming method to program it, that is, using a programming language to map the language into a source file that can be understood by the generating device. figure 1 It is the generation process from the neural network algorithm to the executable file of the neural network processor in the embodiment of the present disclosure. The programming method in the embodiment of the present disclosure includes two steps. First, the concepts in the neural network algorithm are mapped to abstract concepts in the programming language, such as neurons and synapses in the neural network are mapped to data in the programm...

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 an executable program generation device and method for a neural network processor, and the executable program generation device comprises a source program segmentation module which receives a source file as an input, identifies and extracts the positions of a code segment and a data segment according to the format in the source file, and generates an intermediate file containing the code segment and an intermediate file containing the data segment; a data processing module which is used for inputting an intermediate file containing data, processing placement of the dataand outputting memory allocation information and a data placement mode; and a neural network algorithm mapping module which is used for inputting an intermediate file containing the code segment, mapping a neural network algorithm represented by a block in the code into an algorithm flow composed of macro statements, and mapping the algorithm flow into a hardware-related instruction. The device provides a convenient and fast method for using the neural network processor for a user.

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. The neural network processors proposed now are programmed by handwritten instructions, which is very time-consuming and labor-intensive, and it is also prone to errors and...

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): G06F8/41G06N3/063
CPCG06F8/41G06F8/42G06N3/063Y02D10/00
Inventor 不公告发明人
Owner SHANGHAI CAMBRICON INFORMATION TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More