Unlock instant, AI-driven research and patent intelligence for your innovation.

A neural network method and circuit for optimizing sparse matrix operations

A matrix operation and neural network technology, applied in the field of neural network chip circuits, can solve the problems of large operation circuits, high consumption of hardware resources and high power consumption

Active Publication Date: 2020-11-20
FUZHOU ROCKCHIP SEMICON
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] To this end, it is necessary to provide a technical solution for optimizing the neural network of sparse matrix operations to solve the problems of large computing circuits, large consumption of hardware resources, and high power consumption during the processing of neural network chips.

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 neural network method and circuit for optimizing sparse matrix operations
  • A neural network method and circuit for optimizing sparse matrix operations
  • A neural network method and circuit for optimizing sparse matrix operations

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in conjunction with specific embodiments and accompanying drawings.

[0074] see figure 1 , is a schematic diagram of a neural network circuit for optimizing sparse matrix operations related to an embodiment of the present invention.

[0075] The circuit includes a main memory unit 101, a characteristic data reading unit 102, a characteristic data cache unit 103, a non-zero data regularization unit 104, a convolution kernel reading unit 105, a convolution kernel cache unit 106, and a multiplier-adder array unit 107 , an accumulation unit 108, an activation function operation unit 109, a reverse write-back unit 110, a gating clock determination unit 111, and a gating clock control unit 112;

[0076] The main memory unit 101 is connected with the characteristic data reading unit 102 and the convolution k...

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 invention provides a neural network method and circuit for optimizing sparsity matrix operations. The method uses a non-zero data regularization unit to count the number of non-zero data of the first characteristic matrix data obtained from the main memory unit, and according to The corresponding relationship between the number of non-zero data and the number of multipliers required for the convolution operation is to use a gating clock control circuit to control the corresponding clock group to turn on, and then perform the multiplication and addition operation to obtain the convolution feature data. In the subsequent accumulation operation process, the accumulation unit only accumulates the non-zero data in the convolution feature data, and transmits the accumulation operation data to the activation function operation unit for activation operation after the accumulation is completed. Compared with the method of accumulating and calculating the entire convolution feature data, the present invention can effectively reduce the calculation amount and power consumption during the operation process of the neural network circuit.

Description

technical field [0001] The invention relates to the field of neural network chip circuits, in particular to a neural network method and circuit for optimizing sparse matrix operations. Background technique [0002] With the rise of the artificial intelligence industry, special chips for deep learning are also developing rapidly. One of the biggest problems of the current deep learning chip is that due to the complexity of the deep learning neural network, the calculation circuit is huge, the chip cost is high, and the power consumption is high. If we can start from the characteristics of deep learning, it will be very meaningful to further reduce the cost and power consumption of deep learning artificial intelligence chips. [0003] Since one of the characteristics of human brain processing information is sparsity, many studies have shown that only about 1% of brain neurons are activated at the same time. From the perspective of signals, that is, neurons only selectively r...

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/04G06N3/063
CPCG06N3/063G06N3/045
Inventor 廖裕民张功岑
Owner FUZHOU ROCKCHIP SEMICON
Features
  • R&D
  • 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