Unlock instant, AI-driven research and patent intelligence for your innovation.

Data processing method of neural network model, medium and electronic equipment

A technology for neural network models and electronic equipment, applied in the field of data processing of neural network models, can solve the problems of reducing the speed of neural network models of electronic equipment, occupying NPU hardware resources, and low precision

Pending Publication Date: 2022-03-04
ARM TECH CHINA CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the calculation process of Newton’s method needs to be iteratively solved, which is slow and takes up a lot of hardware resources of the NPU, which reduces the speed of the electronic device to run the neural network model; while the Taylor series expansion method has low accuracy and cannot ensure the accuracy of the neural network model. Model running accuracy

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 processing method of neural network model, medium and electronic equipment
  • Data processing method of neural network model, medium and electronic equipment
  • Data processing method of neural network model, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Illustrative embodiments of the present application include, but are not limited to, data processing methods, media, and electronic devices for neural network models.

[0040] The technical solutions of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.

[0041] figure 1 According to some embodiments of the present application, a schematic structural diagram of a neural network model is shown. Such as figure 1 As shown, the neural network model 10 includes a normalization layer 11 , a convolutional layer 12 and a similarity calculation layer 13 for evaluating the similarity between the input image 20 and the input image 30 . Wherein, the convolutional layer 12 is used for feature extraction of the input image 20 and the input image 30, and the similarity calculation layer is used for calculating the input image 20 and the input image 30 according to the features of the input image 20 and the inpu...

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 relates to the field of artificial intelligence, and provides a data processing method of a neural network model, a medium and electronic equipment. The method comprises the following steps: detecting a first type of operation on an operand in the process of operating a neural network model, wherein the first type of operation comprises the operation of solving a power exponent of the operand and then solving a reciprocal of the operand; from the multiplication factor result set, selecting operation result values of a plurality of multiplication factors corresponding to the operation of solving the reciprocal after solving the power exponent of the operand; and multiplying the obtained operation result values of the multiplication factors to obtain an operation result of the first type of operation on the operands. According to the method provided by the invention, the electronic equipment can obtain the operation result of the first type of operation through search and multiplication, so that the calculation speed of the electronic equipment on the first type of operation is improved, and the speed of the electronic equipment for operating the neural network model is further improved.

Description

technical field [0001] The present application relates to the field of artificial intelligence, in particular to a data processing method, medium and electronic equipment of a neural network model. Background technique [0002] With the rapid development of artificial intelligence (AI), neural network models are more and more widely used in the field of artificial intelligence. In order to improve the operating speed of the neural network, various operations in the neural network model, such as normalization and convolution, are usually implemented through fixed-point operations. However, the computing unit used to run the neural network model, such as the neural network processor (Neural-Network Processing Unit, NPU), cannot directly implement the fixed-point operation of the nonlinear operation through the hardware, such as exponentiating the operand to the exponent and then finding The reciprocal operation (such as the reciprocal of the square root), when the NPU calcula...

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/063G06N3/04G06N3/08G06K9/62G06V10/74G06V10/82
CPCG06N3/063G06N3/08G06N3/045G06F18/22
Inventor 王晓雪杨宇余宗桥
Owner ARM TECH CHINA CO LTD