Check patentability & draft patents in minutes with Patsnap Eureka AI!

Softmax function design optimization and hardware realization method and system

A hardware implementation and function technology, applied in physical implementation, digital data processing components, calculations, etc., can solve the problems of softmax function hardware design difficulties, complex exponential operations and division operations, etc., to reduce on-chip storage resources and improve accuracy. Effect

Active Publication Date: 2019-01-08
SHANGHAI JIAO TONG UNIV
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Compared with other layers that only require simple addition and multiplication, such as convolutional layers, pooling layers, and fully connected layers, the Softmax layer requires more complex exponential operations and division operations, which brings corresponding difficulties to the hardware design of the Softmax function.

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
  • Softmax function design optimization and hardware realization method and system
  • Softmax function design optimization and hardware realization method and system
  • Softmax function design optimization and hardware realization method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0036] Such as Figure 1 to Figure 3 As shown, the present invention is based on the trend of more and more classification categories and higher precision requirements in deep neural network classifiers. Aiming at the large number of inputs, wide input range and high precision requirements, a deep learning method is designed. Design optimization and hardware implementation method of Softmax function and a design optimization and hardware implementation system of Softmax function in deep learning.

[00...

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

A Softmax function can complete the conversion from scalar to probability, and is widely used in the output layer of depth neural network classifier. Nowadays, as an important application of deep learning, multi-classification problem has more and more classification categories and higher precision requirements. The invention provides a Softmax function design optimization and hardware realizationmethod and system. According to a large number of input data, wide input range and high precision requirements, the invention calculates through two input modes to reduce on-chip storage resources, responds to a plurality of input pointing schemes through configurable lookup table, and determines output pointing schemes through hardware to improve precision.

Description

technical field [0001] The present invention designs the field of deep neural network classifiers, and specifically designs a Softmax function design optimization and hardware implementation method and system. Background technique [0002] The Softmax function can complete the conversion from scalar to probability, and is widely used in the output layer of deep neural network classifiers. Compared with other layers that only require simple addition and multiplication, such as convolutional layers, pooling layers, and fully connected layers, the Softmax layer requires more complex exponential operations and division operations, which brings corresponding difficulties to the hardware design of the Softmax function. According to the nature of the function, the present invention splits the lookup table of the exponent operation to reduce storage resources, and converts the division into one inversion operation and multiple multiplication operations to reduce the calculation amou...

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
IPC IPC(8): G06F7/556G06N3/063G06N3/04
CPCG06F7/556G06N3/063G06N3/045
Inventor 张卓健邵启明王少军王琴
Owner SHANGHAI JIAO TONG UNIV
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