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

Device and method for neural network operation supporting floating point number with few digits

An artificial neural network and floating-point data technology, applied in the field of neural network computing devices, can solve problems such as increasing hardware area overhead and redundancy, and achieve the effects of optimizing the area-to-power ratio, reducing power consumption, and reducing area overhead.

Active Publication Date: 2017-11-10
CAMBRICON TECH CO LTD
View PDF8 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Traditional artificial neural network forward operations usually use 32-bit floating-point data types for data storage, but in most forward operations of artificial neural networks, the same type of data will be concentrated within a certain data range. However, the data range that can be represented by 32-bit floating point is much larger than the data range of the same type of data in the forward operation. There is a lot of redundancy in the use of 32-bit floating point data type, which increases the area overhead of hardware.

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
  • Device and method for neural network operation supporting floating point number with few digits
  • Device and method for neural network operation supporting floating point number with few digits
  • Device and method for neural network operation supporting floating point number with few digits

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. Other aspects, advantages and salient features of the present invention will become apparent to those skilled in the art from the following detailed description.

[0044] In this specification, the various embodiments described below to describe the principles of the present invention are illustrative only and should not be construed as limiting the scope of the invention in any way. The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of exemplary embodiments of the present invention as defined by the claims and their equivalents. The following description includes numerous specific details to aid in understanding, but these should be considered as exa...

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 device and a method for executing artificial neural network forward operation. The device comprises a floating point data statistical module, a floating point data conversion unit and a floating point data operation module, wherein the floating point data statistical module is used for performing statistical analysis on all types of needed data to obtain index digit offset and length EL of index digits; the floating point data conversion unit is used for realizing conversion from a long-digit floating point data type to a short-digit floating point data type according to the index digit offset and the length EL of the index digits; and the floating point data operation module is used for performing artificial neural network forward operation on short-digit floating point data. According to the device, the data in multi-level artificial neural network forward operation is expressed with short-digit floating points, and the corresponding floating point operation module is used, so that forward operation of the short-digit floating points of an artificial neural network is realized, and accordingly the performance-to-consumption ratio of hardware is greatly improved.

Description

technical field [0001] The invention relates to the technical field of artificial neural networks, and more particularly to a device and method for supporting neural network operations of floating-point numbers with fewer digits. Background technique [0002] Multi-layer artificial neural networks are widely used in the fields of pattern recognition, image processing, function approximation, and optimization calculations. In recent years, multi-layer artificial neural networks have been favored by academic circles and industry is getting more and more attention. [0003] Traditional artificial neural network forward operations usually use 32-bit floating-point data types for data storage, but in most forward operations of artificial neural networks, the same type of data will be concentrated within a certain data range. However, the range of data that can be represented by 32-bit floating point is much larger than the data range of the same type of data in the forward opera...

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/575G06N3/02
CPCG06F7/575G06N3/02G06F9/44G06F7/483G06F2207/4824G06N3/063G06N3/082G06N3/084
Inventor 陈天石刘少礼郭崎陈云霁
Owner CAMBRICON TECH CO LTD
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