Normalization quantification method and device, electronic equipment and storage medium

A quantification method and normalization technology, applied in the field of artificial intelligence, can solve problems such as low applicability and no quantification scheme

Pending Publication Date: 2022-04-12
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the related deep learning framework (Tensorflow/Pytorch), only the quantitative fusion of BN is supported, but for IN or other normalization methods commonly used in target segmentation and detection tasks, there is no corresponding quant

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
  • Normalization quantification method and device, electronic equipment and storage medium
  • Normalization quantification method and device, electronic equipment and storage medium
  • Normalization quantification method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0036] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relationship between the components in a certain posture (as shown in the accompanying drawings). Relative positional relationship, movement conditions, etc., if the specific posture changes, the directional indication will also change accordingly.

[0037] In addition, in t...

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 embodiment of the invention provides a normalization quantification method and device, electronic equipment and a storage medium. The method comprises the following steps: obtaining quantized data Qconv serving as input data of a normalization module; calculating a parameter mean value Q [mu] and a standard deviation Q [sigma] required by normalization of the quantized data Qconv; (Qconv-Qmu) * IntA is calculated, SR is calculated again according to a calculation result of the (Qconv-Qmu) * IntA, and the SR is determined according to a re-scaling parameter of the normalization module and a parameter of a subsequent module of the normalization module; and determining a full-fixed-point reasoning result of the neural network according to the result. According to the normalization quantification method provided by the embodiment of the invention, the problem of precision loss caused by normalization in a fixed-point calculation process is avoided by utilizing a thought of first calculation of (Qconv-Qmu) * IntA, so that full fixed-point reasoning of a neural network model with an INGNLN module becomes possible, the reasoning speed of the neural network model is improved, and the reasoning efficiency of the neural network model is improved. And the power consumption of model reasoning is effectively reduced.

Description

technical field [0001] The present invention relates to but not limited to the field of artificial intelligence, and specifically relates to a normalized quantification method, device, electronic equipment and storage medium. Background technique [0002] In neural networks, normalization is a very common and extremely important technology. Currently, several normalization methods commonly used are IN (Instance Normalization, instance normalization), BN (Batch Normalization, batch normalization) , GN (Group Normalization, group normalization), LN (Layer Normalization, layer normalization) each use different usage scenarios. [0003] The formula to normalize the data is: In is the input feature, and Out is the normalized feature. The parameter to be solved here is the mean value μ of the input feature In In and standard deviation σ In . [0004] From the perspective of IN and BN, the biggest difference between the two is that the mean and standard deviation of IN need to...

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): G06N3/04G06N3/08G06N5/04
Inventor 郭烈强
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products