Check patentability & draft patents in minutes with Patsnap Eureka AI!

Efficient coding method and device for convolutional neural network, and storage medium

A convolutional neural network, high-efficiency coding technology, applied in the field of equipment, high-efficiency coding method of convolutional neural network, and storage medium, can solve the problems of reducing the speed of convolution operation and the large amount of data transmission in the middle layer of convolution, and reducing the The effect of transfer volume, reduction of double-counting, and average speed improvement

Pending Publication Date: 2022-04-12
GREE ELECTRIC APPLIANCES INC +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, due to the fact that the first frame image and the subsequent frame image are similar or identical, repeated calculations lead to a huge amount of data transmission in the middle layer of the convolution, and at the same time reduce the speed of the convolution operation.

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
  • Efficient coding method and device for convolutional neural network, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment example 2

[0057] An efficient encoding device for a convolutional neural network, comprising one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be programmed by the one or a plurality of processors, the one or more programs include an instruction for performing a high-efficiency coding method of a convolutional neural network, and realize the following steps:

[0058] S100. Calculate the first frame image according to a standard convolutional neural network calculation method, and save multi-layer intermediate layer data as a reference frame.

[0059] S200. When inputting the second frame image to calculate the first layer of convolution, compare it with the corresponding row and column convolution output data of the first frame image at the same time. If it remains unchanged or the change is small, use the run-length method to perform continuous sequence convolution output data. run-length encoding.

[...

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

An efficient coding method of a convolutional neural network comprises the following steps: calculating a first frame of image by using the convolutional neural network, and selecting and storing specific row and column data of a middle layer as reference convolution; when a first layer of convolution of each subsequent frame of image is calculated, comparing the first layer of convolution with a reference convolution, and outputting convolution results of a plurality of channels with small changes or unchanged to carry out run-length coding; when data are input according to the run-length coding area and the non-run-length coding area, specific row and column data of the corresponding middle layer are taken out to execute convolution operation of different strategies; and updating the reference convolution every preset frame number of images. According to the method, the requirement of importing and exporting intermediate layer data between the NPU and the memory on transmission bandwidth is greatly reduced, repeated calculation of the convolutional neural network on a static image area can be effectively reduced, the calculation speed of the neural network is improved, the requirement of real-time response is met, and meanwhile, the power consumption is greatly reduced.

Description

technical field [0001] The invention relates to the technical field of processing images by using a convolutional neural network, in particular to a high-efficiency coding method, device, and storage medium for a convolutional neural network. Background technique [0002] Convolutional neural networks have been widely used in image recognition. Due to the large amount of calculation, there are great challenges to the area, price and power consumption of the chip. In real scenes, the background of the video captured by the camera is mostly static. If the convolutional neural network can reduce the repeated calculation of the slightly changed image area of ​​​​multi-frame images, the calculation speed of the convolutional neural network will be greatly improved and the calculation speed will be reduced. power consumption, and meet the needs of many real-time application scenarios. [0003] In the prior art, because parts of the first frame image and the subsequent frame image...

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): G06T9/00G06N3/04G06N3/08
Inventor 刘文峰
Owner GREE ELECTRIC APPLIANCES INC
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