Hard acceleration method and device for neural network model of electronic equipment

A neural network model and electronic equipment technology, applied in the field of deep learning, can solve the problems of low hardware update speed, low iteration speed, long development cycle of acceleration equipment, and obstacles to the wide application of acceleration equipment, and achieve the effect of convenient use

Pending Publication Date: 2018-10-26
HANGZHOU FEISHU TECH CO LTD
View PDF7 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that when using the acceleration device to realize the neural network processing system in the prior art, the hardware and software design of the acceleration device was carried out according to the characteristics of a specific neural network model. Although this method Better computing performance can be obtained, but because it is designed for a specific neural network model, and because there are many open source development environments in the field of deep learning, such as Tensorflow, Torch, Caffe, Theano, Mxnet, Keras, etc., once the neural network model If the algorithm has been updated or due to the different versions of the development environment, it is necessary to redesign the hardware and software of the acceleration device
Because the hardware development cycle of the acceleration device is long, usually several months or more than a year, the hardware update speed of the acceleration device is far lower than the iteration speed of the algorithm of the neural network model, which is a great obstacle Wide application of accelerated equipment

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
  • Hard acceleration method and device for neural network model of electronic equipment
  • Hard acceleration method and device for neural network model of electronic equipment
  • Hard acceleration method and device for neural network model of electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] 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 combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention.

[0043] In the description of the present invention, it should be noted that the terms "first" and "second" are used for description purposes only, and should not be understood as indicating or implying relative importance.

[0044] The present invention provides a hard acceleration method and device for the neural network model of the first electronic device, and also provides an auxiliary acceleration method for the neural network model of the second electronic device.

[0045] Wherein, the first electronic device refers to an acceleration device, such as FPGA, ASIC and so on. Among them,...

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 hard acceleration method and device for a neural network model of first electronic equipment. The method and the device relate to the technical field of deep learning in artificial intelligence. The method includes the following steps: obtaining to-be-recognized data and configuration parameters of the neural network model; performing hard acceleration of convolution calculation matching the neural network model according to the configuration parameters, and obtaining a convolution result of the to-be-recognized data by the neural network model; performing the hard acceleration of function calculation on the convolution result by calling at least one function module matching the neural network model from at least one preset function module based on the configuration parameters, and obtaining a recognition result of the to-be-recognized data by the neural network model. The method and the device can support the neural network model established by various open source development environments, and also support a user-defined neural network model; and when an algorithm of the neural network model is updated, only the parameters of the first electronic equipment need to be reconfigured without changing hardware design.

Description

technical field [0001] The present invention relates to the technical field of deep learning in artificial intelligence, in particular to a hard acceleration method and device for a neural network model of a first electronic device, and an auxiliary acceleration method for a neural network model of a second electronic device . Background technique [0002] In the past few decades, although the computing performance of the CPU has been improving rapidly, due to the limitations of physical laws such as power consumption, interconnection delay, and design complexity, by 2004, the computing performance of the CPU was close to the physical limit. (The main frequency is about 3.6GHZ). In this case, heterogeneous acceleration has become one of the methods to obtain higher performance computing power. The so-called heterogeneous acceleration (Hybrid Acceleration) refers to the integration of different acceleration devices based on the CPU to achieve higher performance computing ac...

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): G06N3/04G06N3/063
CPCG06N3/063G06N3/045G06N3/08G06N3/048G06N3/04
Inventor 王文华程爱莲
Owner HANGZHOU FEISHU 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