Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Hybrid precision space-time multiplexing multiplier based on NAS search and control method of hybrid precision space-time multiplexing multiplier

A multiplier, space-time technology, which is applied to the mixed-precision space-time multiplexing multiplier and its control field based on NAS search, can solve the problem of increasing the chip area, a single serial structure, and the inability to realize data time-domain multiplexing and spatial-domain complexation at the same time. Use and other problems to achieve the effect of optimizing data flow

Pending Publication Date: 2020-11-20
SOUTH UNIVERSITY OF SCIENCE AND TECHNOLOGY OF CHINA
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the number of input bits of conventional NAS multipliers is fixed and cannot be configured and adjusted according to application requirements, and the calculation process is mostly a single serial structure or parallel structure, which cannot improve data utilization based on time-domain and spatial-domain multiplexing of data. It meets the requirements of mixed-precision computing and cannot reasonably allocate computing resources for specific applications. On the other hand, traditional look-up table multipliers can only be applied to calculations with smaller bit widths, and parallel computing with larger bit widths will dramatically increase the chip area. If you want to reduce the area consumption, you can only exchange time for area consumption in a serial way, but the calculation speed of the serial multiplier is slow, which cannot meet the calculation performance requirements.
Moreover, the conventional single serial structure or parallel structure cannot simultaneously realize time-domain multiplexing and spatial multiplexing of data.

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
  • Hybrid precision space-time multiplexing multiplier based on NAS search and control method of hybrid precision space-time multiplexing multiplier
  • Hybrid precision space-time multiplexing multiplier based on NAS search and control method of hybrid precision space-time multiplexing multiplier
  • Hybrid precision space-time multiplexing multiplier based on NAS search and control method of hybrid precision space-time multiplexing multiplier

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Such as figure 1 As shown, Embodiment 1 of the present invention provides a mixed-precision space-time multiplexing multiplier control method based on NAS search. The multiplier includes at least two basic computing units. The method includes:

[0038] S110. Acquire a first multiplier and a first multiplicand.

[0039] S120, splitting the first multiplier and the first multiplicand to obtain one or more second multipliers and one or more second multiplicands, the bytes of the second multiplier and the second multiplicand The amount is equal to the amount of computing bytes of each basic computing unit.

[0040] In this embodiment, the multiplier can be used for the calculation of the neural network. When controlling the multiplier for calculation, the first multiplier and the first multiplicand, that is, the data that the user needs to calculate, are first obtained, and then the first multiplier Number and the first multiplicand are split to obtain one or more second ...

Embodiment 2

[0048] Such as figure 2 As shown, Embodiment 2 of the present invention provides a mixed-precision space-time multiplexing multiplier control method based on NAS search. Embodiment 2 of the present invention is a further explanation on the basis of Embodiment 1 of the present invention. The method includes:

[0049] S210. Acquire a first multiplier and a first multiplicand.

[0050] S220. Splitting the first multiplier and the first multiplicand to obtain one or more second multipliers and one or more second multiplicands, the bytes of the second multiplier and the second multiplicand The amount is equal to the amount of computing bytes of each basic computing unit.

[0051] S230. Generate at least two sets of input parameters according to the second multiplier and the second multiplicand, where each set of input parameters includes the second multiplier and the second multiplicand.

[0052] S240. Input the high digits and low digits of at least two sets of input parameters...

Embodiment 3

[0062] Such as Figure 4 As shown, Embodiment 3 of the present invention provides a mixed-precision space-time multiplexing multiplier 100 based on NAS search (hereinafter referred to as the multiplier 100). The multiplier 100 provided in Embodiment 3 of the present invention can perform any implementation of the present invention. The NAS search-based mixed-precision space-time multiplexing multiplier control method provided by the example has the corresponding functional modules and beneficial effects of the execution method. The multiplier 100 includes at least two basic calculation units 110, a first calculation unit 200 and a second calculation unit 300,

[0063] Specifically, the first calculation unit 200 is used to obtain the first multiplier and the first multiplicand; it is also used to split the first multiplier and the first multiplicand to obtain one or more second multipliers and One or more second multiplicands, the bytes of the second multiplier and the second...

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 embodiment of the invention discloses a hybrid precision space-time multiplexing multiplier based on NAS search and a control method of the hybrid precision space-time multiplexing multiplier. Themethod comprises the steps of splitting a first multiplier and a first multiplicand to obtain one or more second multipliers and one or more second multiplicand, wherein the byte quantity of the second multipliers and the byte quantity of the second multiplicand are equal to the calculation byte quantity of each basic calculation unit; generating at least two groups of input parameters accordingto the second multiplier and the second multiplicand, wherein each group of input parameters comprises the second multiplier and the second multiplicand; inputting the at least two groups of input parameters into at least two basic calculation units in a one-to-one correspondence manner to obtain a first calculation result of each group of input parameters; and determining a target result of the first multiplier and the first multiplicand according to the first calculation result. According to the embodiment of the invention, the hybrid precision fixed-point multiply-accumulate calculation issupported through the hybrid serial-parallel design of time and space, so that the data stream is deeply optimized. The working speed of a traditional multiplier is improved, and the required area andenergy consumption are reduced.

Description

technical field [0001] Embodiments of the present invention relate to multiplier technology, in particular to a NAS search-based mixed-precision space-time multiplexing multiplier and a control method thereof. Background technique [0002] NAS (Neural Architecture Search, neural network architecture search algorithm) can traverse the architecture to find the neural network architecture with the best performance according to the design requirements. The parameters and calculation units of the conventional neural network are single precision, and the number of bits required for the multiplier is fixed. [0003] As new energy-efficient neural networks are implemented in a mixed-precision manner, using conventional fixed-bit multipliers suffers from high energy consumption and high latency. The multiplier is an important part of the computing processing unit, and the power consumption and performance of multiplication directly affect the computing performance of the processing u...

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/544
CPCG06F7/5443
Inventor 毛伟余浩李凯王宇航代柳瑶
Owner SOUTH UNIVERSITY OF SCIENCE AND TECHNOLOGY OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products