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

Method and device for performing convolution operation, method and device for generating instructions

A technology of convolution operation and instruction, applied in the field of neural network, to achieve the effect of reducing hardware cost, design complexity, power consumption and area

Active Publication Date: 2019-06-14
HORIZON ROBOTICS SHANGHAI ARTIFICIAL INTELLIGENCE TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, hardware dedicated to performing neural network calculations (e.g., neural network accelerators) can only directly perform convolution operations for convolution kernels of a certain size due to hardware limitations

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 device for performing convolution operation, method and device for generating instructions
  • Method and device for performing convolution operation, method and device for generating instructions
  • Method and device for performing convolution operation, method and device for generating instructions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Hereinafter, exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. It should be understood that the present application is not limited by the exemplary embodiments described here.

[0033] Application overview

[0034] As mentioned above, each convolution layer in a convolutional neural network usually needs to correspond to multiple convolution kernels of different sizes (for example, large-sized convolution kernels), and the hardware dedicated to performing neural network calculations ( For example, neural network accelerators) can only perform convolution operations for convolution kernels of a certain size due to hardware limitations.

[0035] In related technologies, in order to solve the problem that the above-mentioned hardware...

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

Disclosed are a method and device for performing convolution operations, and a method and device for generating instructions. The method for performing convolution operations includes: obtaining the nth second convolution kernel; The size in height, the size after padding with the first input feature data in width and height, the size of the nth second convolution kernel in width and height, and the nth second convolution kernel in the first volume The width starting point coordinates and the height starting point coordinates in the product kernel are obtained from the filled first input feature data to obtain the second input feature data corresponding to the nth second convolution kernel; for the nth second convolution kernel performing a convolution operation on the second input feature data corresponding to the kernel and the nth second convolution kernel; and after obtaining the N second output feature data, integrating the N second output feature data. The present application can improve the efficiency of hardware performing convolutional neural network operations without increasing hardware costs.

Description

technical field [0001] The present application relates to the technical field of neural networks, and in particular to a method and device for performing convolution operations, and a method and device for generating instructions. Background technique [0002] Convolutional neural networks have been successfully applied in many fields such as image processing and autonomous driving. With the application of convolutional neural networks in many fields, in some application scenarios, it is necessary to apply convolution operations of convolution kernels of various sizes in convolutional neural networks. However, hardware dedicated to performing neural network calculations (eg, neural network accelerators) can only directly perform convolution operations with convolution kernels of a specific size due to hardware limitations. Contents of the invention [0003] In order to solve the above-mentioned technical problems, it is desired to provide a new method and device for perfo...

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): G06F9/302G06N3/04G06N3/063
CPCG06N3/063G06N3/045
Inventor 李智超王振江凌坤李建军
Owner HORIZON ROBOTICS SHANGHAI ARTIFICIAL INTELLIGENCE TECH CO LTD
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