A method and system for accelerated computing of integrated circuits based on convolutional neural network algorithm

A convolutional neural network and integrated circuit technology, which is applied to the integrated circuit accelerated computing system. The integrated circuit accelerated computing field based on the convolutional neural network algorithm can solve the problem of difficult real-time operation, large amount of operation, and difficult to achieve by the processor. requirements and other issues, to achieve the effect of improving unit utilization, fewer reading times, and reducing the number of times

Active Publication Date: 2021-08-10
北京中科汇成科技有限公司
View PDF15 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a method and system for accelerated calculation of an integrated circuit based on a convolutional neural network algorithm to solve the problems in the prior art proposed in the above-mentioned background technology. Due to a disadvantage of the convolutional neural network, its computational complexity is huge. It is not easy to perform real-time calculations on embedded devices, and traditional processors based on serial architectures are not easy to meet the requirements. Therefore, how to quickly complete convolutional neural network operations is an important problem that needs to be solved.

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
  • A method and system for accelerated computing of integrated circuits based on convolutional neural network algorithm
  • A method and system for accelerated computing of integrated circuits based on convolutional neural network algorithm
  • A method and system for accelerated computing of integrated circuits based on convolutional neural network algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0109] Embodiment one: if figure 1 As shown, a method for accelerated calculation of an integrated circuit based on a convolutional neural network algorithm includes: inputting convolution kernel data and external data into the multiplication accumulator unit queue S101 in parallel from different directions; A multiplication accumulator unit carries out corresponding multiplication and accumulation processing S102 on the convolution kernel data and external data flowing through it in parallel at the same time, and outputs them to the data storage unit S103 respectively;

[0110] Since the convolution kernel data and external data are input to the multiplication accumulator unit queue in parallel from different directions; each multiplication accumulator unit in the multiplication accumulator unit queue simultaneously parallelizes the convolution kernel data and external data flowing through it Carry out corresponding multiplication and accumulation processing respectively, and...

Embodiment 2

[0179] The following uses image processing as an example to illustrate a method and system for accelerated computing of integrated circuits based on convolutional neural network algorithms, as follows:

[0180] Step 1: Assume that the convolution kernel data matrix is ​​N*N, and the sliding step size is M. For example: N=3, M=1;

[0181] The pre-designed convolution kernel data matrix is ​​put into the external memory. E.g:

[0182] Convolution kernel data 1 Convolution kernel data 4 Convolution kernel data 7 Convolution kernel data 2 Convolution kernel data 5 Convolution kernel data 8 Convolution kernel data 3 Convolution kernel data 6 Convolution kernel data 9

[0183] Step 2: Process the image data continuously output by the camera, subtract the pixels of adjacent images to generate more zeros, compress the sparse matrix, and put it into the external memory. For example, the camera outputs an image, which is the first 3 columns of data...

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 belongs to the field of artificial intelligence technology, and in particular relates to a method and system for accelerated calculation of an integrated circuit based on a convolutional neural network algorithm, wherein the system includes inputting convolution kernel data and external data in parallel from different directions to the multiplication and accumulation Each multiplication accumulator unit in the multiplication accumulator unit formation simultaneously performs corresponding multiplication and accumulation processing on the convolution kernel data and external data flowing through it in parallel, and outputs them to the data storage unit respectively. The present invention solves the problem of Due to the existence of the existing technology, a disadvantage of the convolutional neural network is that it has a huge amount of calculation, and it is not easy to perform real-time calculations on integrated circuits or embedded devices. Traditional processors based on serial architectures are not easy to meet the requirements. Therefore, how to Quickly completing convolutional neural network operations is an important problem to be solved. The present invention has the characteristics of less reading times, high computing throughput, and low bandwidth requirements, and has the beneficial technical effect of greatly improving the real-time performance of convolutional neural network operations.

Description

technical field [0001] The invention belongs to the technical field of artificial intelligence, and in particular relates to a method for accelerated calculation of an integrated circuit based on a convolutional neural network algorithm. At the same time, the invention also provides a system for accelerated calculation of an integrated circuit based on a convolutional neural network algorithm. Background technique [0002] Convolutional neural network is a kind of feedforward neural network, which is often used in image recognition. It generally includes convolutional layer, pooling layer and fully connected layer. The convolution operation of convolutional layer is that each weight in the convolution kernel Multiply the corresponding input data point-to-point, and then accumulate the point multiplication results to obtain an output data. After that, according to the step size setting of the convolution layer, slide the convolution kernel and repeat the above operation. One ...

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): G06N3/063G06N3/04
CPCG06N3/063G06N3/045
Inventor 王成龙舟
Owner 北京中科汇成科技有限公司
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