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

Data quantification method and device based on neural network and computer readable storage medium

A technology of neural network and quantization method, which is applied in the field of data quantification based on neural network and computer-readable storage media, can solve problems affecting quantization performance and not applicable to actual work scenarios, and achieve the effect of reducing quantization errors and improving quantization effects

Pending Publication Date: 2020-04-14
CANAAN BRIGHT SIGHT CO LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the existing technology, the quantization parameters used to perform quantization on the data of the neural network may not be suitable for actual work scenarios, affecting the quantization performance

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
  • Data quantification method and device based on neural network and computer readable storage medium
  • Data quantification method and device based on neural network and computer readable storage medium
  • Data quantification method and device based on neural network and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0035] In the present invention, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts or combinations thereof disclosed in the specification, and are not intended to exclude one or multiple other features, numbers, steps, acts, parts, parts or combinations thereof.

[0036] In addition, it should be noted that, in the case of n...

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 data quantification method and device based on a neural network and a computer readable storage medium. The method comprises the steps of determining the first output activation of a target layer of the neural network according to any one preset frame in a to-be-detected frame sequence, and carrying out the quantification of the first output activation based on a current quantification parameter; iteratively updating the current quantization parameter according to the first output activation of the target layer and the target quantization bit width; and determining second output activation of the target layer according to the next frame of any preset frame in the to-be-tested frame sequence, and performing quantization operation on the second output activation based on the updated current quantization parameter. By means of the method, quantization errors can be reduced, and a better data quantization effect is achieved.

Description

technical field [0001] The invention belongs to the field of neural network calculation, and in particular relates to a data quantification method, device and computer-readable storage medium based on a neural network. Background technique [0002] This section is intended to provide a background or context for implementations of the invention that are recited in the claims. The descriptions herein are not admitted to be prior art by inclusion in this section. [0003] In recent years, with the rapid development of neural networks, the computing performance of neural networks has been continuously improved. However, due to the shortcomings of large amounts of calculations, neural networks limit their deployment and use on edge devices or low-power devices. Data quantization is the solution to the above problems. One of the problem methods. However, in the prior art, quantization parameters used for performing quantization on neural network data may not be suitable for actu...

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/08
CPCG06N3/082
Inventor 徐兵张楠赓
Owner CANAAN BRIGHT SIGHT 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