Neural network parameter adjustment method, device and equipment

A neural network and parameter adjustment technology, applied in the computer field, can solve the problem of low efficiency of parameter adjustment and achieve the effect of improving efficiency

Active Publication Date: 2019-05-24
TENCENT TECH (SHENZHEN) CO LTD
View PDF20 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a parameter adjustment method, device and equipment of a neural network, which are used to solve the p

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
  • Neural network parameter adjustment method, device and equipment
  • Neural network parameter adjustment method, device and equipment
  • Neural network parameter adjustment method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

[0031] The nouns involved in the embodiments of the present application are explained below.

[0032] Fixed-point numbers: Fixed-point numbers are data in which the position of the decimal point is fixed. The computer usually agrees on the fixed position of the decimal point in the data in advance, and does not mark the decimal point in the data. In this embodiment, the fixed position of the decimal point in the data can be specified by using the decimal place width, and the decimal place width is used to indicate the number of decimal places in the fixed-point number. For example, if the decimal place width is 5, it indicates that the number of decimal places in the data is 5, that is, there are 5 digits after the ...

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 discloses a neural network parameter adjustment method, device and equipment, and belongs to the technical field of computers. The method comprises the steps of acquiring parameters and a training sample of a trained neural network with the training sample comprising input data, and the parameters and the input data are floating-point numbers with the same precision; for the ith layer of network in the neural network, performing predetermined operation on the ith layer of input data and the ith layer of parameters to obtain a first operation result; Respectivelyconverting the ith layer of input data and the ith layer of parameters into fixed-point numbers conforming to decimal bit widths of the ith layer of network, and performing predetermined operation onthe converted ith layer of input data and ith layer of parameters to obtain a second operation result; And when an error between the second operation result and the first operation result is smallerthan an error threshold, determining the converted ith-layer parameter as a target parameter of the ith-layer network. According to the embodiment of the invention, the efficiency of parameter adjustment can be improved on the premise of ensuring the precision of the neural network.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, device and equipment for adjusting parameters of a neural network. Background technique [0002] Neural network has high recognition accuracy and good parallelism, and has been widely used in image recognition, object classification, pattern recognition and other fields in recent years. Among them, the application of neural network involves two stages of training and reasoning. Training refers to the use of massive training samples to train the parameters in the neural network; reasoning refers to the use of a neural network with trained parameters to process input data. Get the inference result. [0003] Since the training stage has high requirements for data accuracy and the neural network has a certain robustness, the requirements for data accuracy in the inference stage can be reduced to reduce the hardware resources used in the in...

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/08
Inventor 孟玉王玉伟于潇宇高剑林朱建平
Owner TENCENT TECH (SHENZHEN) CO 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