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

Up-sampling reverse block mapping method

A mapping method and block technology, applied in the field of neural networks, can solve the problems of inability to realize data multiplexing, waste of time and resources, and achieve the effect of reducing cache and power consumption, improving computing speed, and efficient multiplexing.

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

AI Technical Summary

Problems solved by technology

The disadvantage of this is that data multiplexing cannot be achieved, because pixels with different output feature maps can be mapped to four adjacent pixels with the same input feature map. If it is a point-to-point mapping, repeated reading will inevitably occur. This results in a waste of time and 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
  • Up-sampling reverse block mapping method
  • Up-sampling reverse block mapping method
  • Up-sampling reverse block mapping method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0035] Inverse Block Mapping and Multiplexing Computational Upsampling Methods for Neural Network Accelerators mentioned in the design. In the block mapping, different block mappings are not exactly the same at the four adjacent pixels of the input feature map, and data multiplexing is used for the same part, so there will be no repeated reading.

[0036] like figure 1 As shown, an upsampling reverse block mapping method includes the following steps:

[0037] Step 1: According to the agreed method, read part of the data of the feature map and store it in the shift buffer.

[0038] like Figure 2-4 As shown, for data multiplexing, the input feature map cache ...

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 an up-sampling reverse block mapping method. The method comprises the following steps: S1, reading input feature map data and storing the input feature map data in a shift cache region; S2, finding out pixel points in the blocks of the output feature map, and mapping the pixel points to the positions of the most adjacent four pixel points in the input feature map; S3, calculating to obtain the pixel value of the output feature map by adopting an assembly line mode: S31, in the vertical direction, carrying out one-time multiplication on four most adjacent pixel points and the parameters in the column direction, and adding four obtained intermediate values to obtain two intermediate values, and S32, multiplying the two intermediate values with the parameters in the row direction to obtain two intermediate values, and adding the two intermediate values once to obtain up-sampled pixel points of the output feature map; S4, after the data of one block is processed, returning to the S1, and processing the next block; and S5, after the input feature map is processed, continuing to process the next feature map according to the register instruction.

Description

technical field [0001] The invention relates to the technical field of neural networks, in particular to an upsampling reverse block mapping method. Background technique [0002] The emergence of deep learning algorithms has made a breakthrough in the application of artificial intelligence technology. In the early days, deep learning algorithms were mainly run on servers with high-performance GPUs. With the in-depth application of deep learning, people found that although this method is simple and efficient, it also has problems such as high power consumption and large volume. Aiming at these problems, neural network accelerators can effectively solve them. As an important part of the implementation of neural network accelerators, upsampling has received higher attention and development. [0003] The main function of upsampling is to use existing pixels to construct new pixels. It is often used in neural network accelerators to enhance feature maps and restore feature map ...

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/08G06N3/04
CPCG06N3/082G06N3/04
Inventor 施先广胡有能李一涛何增马德岳克强
Owner HANGZHOU DIANZI UNIV
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