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

Neural network approximate multiplier implementation method and device based on preprocessing

A neural network and implementation method technology, applied in the computer field, can solve problems such as high energy consumption and large area, and achieve the effects of reducing energy consumption, reducing design area, and reducing time

Pending Publication Date: 2022-01-28
TSINGHUA UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the current design based on these directions is only an approximate multiplier design from the perspective of saving energy consumption of a single multiplier
Therefore, current approximate multipliers for neural networks are still energy-intensive and large in area

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
  • Neural network approximate multiplier implementation method and device based on preprocessing
  • Neural network approximate multiplier implementation method and device based on preprocessing
  • Neural network approximate multiplier implementation method and device based on preprocessing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. 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 scope of the present invention.

[0029] The present invention provides a method and device for realizing a neural network approximate multiplier based on preprocessing, which can be applied to current multipliers, and solves the balance between accuracy and energy consumption in the existing approximate multiplier design technology for neural networks It solves the problem that there is no mature and efficient approximate mu...

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 neural network approximate multiplier implementation method and device based on preprocessing. The method comprises the following steps: before the unknown operand is input, determining a first result of truncation of a known operand after a target digit is reserved and determining a first displacement corresponding to the truncation; after the unknown operand is input, determining a second result of truncation of the unknown operand after the target digit is reserved and determining a second displacement corresponding to the truncation; multiplying the first result and the second result to obtain a partial product; and performing displacement on the partial product according to the first displacement amount and the second displacement amount to obtain an approximation result. According to the method, known operands are preprocessed and stored in advance, and a plurality of operands are prevented from being processed at the same time, so the energy consumption of a multiplier unit in a processing step can be reduced, the design area of the multiplier unit is reduced, energy consumption required by the whole neural network during calculation is further reduced, and time for outputting a result by the neural network is reduced.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for realizing a neural network approximate multiplier based on preprocessing. Background technique [0002] In neural networks, convolution operations are widely used. Therefore, the number of multiply-accumulate operations is extremely large, and the multiply-accumulate unit is the computing unit that requires the most space and power consumption in the entire neural network, and is the main source of computing resource requirements. Therefore, the multiplier, as one of the most important arithmetic modules in the processor, has a decisive impact on the performance and energy efficiency of the hardware unit of the computational neural network. Although errors are undesirable in an essential sense, due to the iterative nature of neural networks, they have a certain tolerance for calculation errors, and this error recovery capability can be used to save energy. There...

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): G06F7/523G06N3/04
CPCG06F7/523G06N3/04
Inventor 谢翔胡毅李国林王自强王志华
Owner TSINGHUA UNIV