A fixed-point acceleration method and device for convolution calculation

A convolution and algorithm technology, applied in the fixed-point acceleration method and device field of convolution calculation, can solve the problems of large calculation and data access, difficult to guarantee CPU performance, etc., to reduce multiplication, reduce access and calculation, Performance-enhancing effects

Inactive Publication Date: 2019-05-10
XIAMEN MEITUZHIJIA TECH
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when floating-point data is used for calculation, the amount of calculation and data access of the CPU is relatively large, and the performance of the CPU for convolution calculation is difficult to guarantee.

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 fixed-point acceleration method and device for convolution calculation
  • A fixed-point acceleration method and device for convolution calculation
  • A fixed-point acceleration method and device for convolution calculation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0031] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art wi...

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 provides a fixed-point acceleration method and device for convolution calculation, and relates to the technical field of convolution calculation. The fixed point acceleration method forconvolution calculation comprises the following steps: carrying out first conversion operation on a floating point matrix in a preset convolution algorithm to obtain a converted fixed point matrix; Replacing the floating point matrix in the preset convolution algorithm with a fixed point matrix to obtain a replaced convolution algorithm; performing convolution calculation according to the replacedconvolution algorithm and the input data to obtain a convolution calculation result; and performing a second conversion operation on the convolution calculation result to obtain a convolution calculation result of the input data. In the embodiment of the invention, the method comprises the following steps: obtaining a target object; replacing a floating point matrix in a preset convolution algorithm by a fixed point matrix to obtain a replaced convolution algorithm; the method does not comprise a floating point matrix any more, can be directly applied to fixed-point calculation, reduces multiplication in the convolution process, can effectively reduce access and calculation amount of data volume in the fixed-point convolution algorithm, and can improve the performance of convolution calculation.

Description

technical field [0001] The invention relates to the technical field of convolution calculations, in particular to a fixed-point acceleration method and device for convolution calculations. Background technique [0002] Convolutional Neural Networks (CNN) is a type of feed-forward neural network that includes convolution calculations and has a deep structure. It has a wide range of applications in machine vision, natural language processing, speech recognition, and AI technology applications in-depth application. [0003] The convolutional neural network contains a large number of convolution calculations. The convolution calculation is a time-consuming process for the CPU (Central Processing Unit, CPU). The whole process includes the process of data access and calculation, especially for comparison. Good precision is calculated using floating point data. [0004] However, when floating-point data is used for calculation, the amount of calculation and data access of the CPU...

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 Applications(China)
IPC IPC(8): G06N3/04G06N3/08
Inventor 陈志杰戴宏凯龚秋棠傅松林张伟
Owner XIAMEN MEITUZHIJIA TECH
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