Supercharge Your Innovation With Domain-Expert AI Agents!

Method and system for calculating neural network convolution operation, and hardware device

A convolution operation and neural network technology, applied in the method and system, computing neural network convolution operation, and hardware devices, can solve the problems of failure to realize variable precision multiplication operations, large data read and write bandwidth resources, and waste of hardware resources and other issues to achieve the effect of improving computing speed, reducing power consumption, and strong versatility

Pending Publication Date: 2021-11-05
绍兴埃瓦科技有限公司 +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a method for computing neural network convolution operations, which solves the technical problems that the prior art method takes up a large amount of resources for processing data read and write bandwidth, fails to realize variable precision multiplication operations, and wastes hardware resources.

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
  • Method and system for calculating neural network convolution operation, and hardware device
  • Method and system for calculating neural network convolution operation, and hardware device
  • Method and system for calculating neural network convolution operation, and hardware device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scop...

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 method and system for calculating neural network convolution operation and a hardware device, belongs to the technical field of convolution operation methods, and solves the technical problems that the method in the prior art occupies a large amount of resources for processing data read-write bandwidth, cannot realize variable precision multiplication operation, and is low in hardware utilization rate, so that the operation efficiency is low. The method comprises the steps that: a processor is configured to execute a preset calculation precision; at least one pair of multiplier and multiplicand is obtained, digits are encoded into a plurality of fixed-point basic precision data, and fixed-point multiplication is executed according to a program instruction; and the processor is configured to divide the multiplier and the multiplicand into high-order data and low-order data represented by low-precision digits during first calculation precision multiplication, and calculation is performed according to a preset variable-precision multiplication instruction. The invention is used for perfecting the function of multi-precision convolution operation and improving the operation rate of the processor.

Description

technical field [0001] The invention belongs to the technical field of convolution operation methods, and in particular relates to a method, system and hardware device for computing neural network convolution operations. Background technique [0002] Due to the limitations of storage resources, computing power resources, real-time performance, power consumption and other factors on the device side of the mobile network or the Internet of Things, it is necessary to dynamically allocate resources and computing power according to tasks to achieve a balance between performance and power consumption resources. Using low-precision convolutional neural network to obtain higher performance by sacrificing a small amount of recognition accuracy, the data bit width used is relatively low, which can be realized by simple logic, saving computing and storage resources. Under the condition that a certain output precision is satisfied, the precision of the data used in the calculation of th...

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): G06N3/063G06N3/04G06N3/08
CPCG06N3/063G06N3/08G06N3/045
Inventor 王赟张官兴郭蔚黄康莹张铁亮
Owner 绍兴埃瓦科技有限公司
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