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

A method for FPGA to realize activation function in residual network

An activation function and network technology, applied in the field of activation function in FPGA implementation of residual network, can solve the problems of data transmission I/O loss, efficiency loss, no reusability, etc.

Active Publication Date: 2020-10-16
SUZHOU METABRAIN INTELLIGENT TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It involves the use of the activation function in the residual network implemented by the FPGA, but the modules of the activation functions in the FPGA are not reusable, and the data between the modules is communicated through the memory channel (channel), so the chip cache is repeatedly read and written ( DDR) will inevitably bring efficiency loss on input and output, that is, the data transmission I / O loss between different activation functions is more

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 method for FPGA to realize activation function in residual network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The core of the present invention is to provide a method for FPGA to realize the activation function in the residual network, so as to reduce the I / O loss of data transmission between different activation functions.

[0021] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0022] The terms are described as follows:

[0023] ResNet (Deep Residual Learning for Image): residual network;

[0...

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 a method for an FPGA to realize an activation function in a residual network. The method includes: each time entering a new convolutional layer of the residual network, reading the required activation function from the cache DDR of the FPGA chip Parameters; the data processed by the convolution module of the FPGA chip is read into the activation function processing module through the memory channel channel; in the activation function processing module, the data is sequentially substituted into the batch normalization function, scaling function and linear activation function Perform processing, and write the processed data back to the cache DDR through the memory channel channel. This method realizes reducing the I / O loss of data transmission between different activation functions.

Description

technical field [0001] The invention relates to the field of deep learning acceleration technology, in particular to a method for implementing an activation function in a residual network by an FPGA. Background technique [0002] At present, the rapid development of big data technology has greatly promoted the development of deep learning technology, and FPGA is one of the effective means to accelerate deep learning. In the usual convolutional neural network structure implemented by the CPU, different types of activation functions are in separate modules to achieve multiplexing and overloading of different network structures. It involves the use of the activation function in the residual network implemented by the FPGA, but the modules of the activation functions in the FPGA are not reusable, and the data between the modules is communicated through the memory channel (channel), so the chip cache is repeatedly read and written ( DDR) will inevitably bring efficiency loss on ...

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): G06N3/04G06N3/063
CPCG06N3/063G06N3/045
Inventor 丁良奎
Owner SUZHOU METABRAIN INTELLIGENT 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