Neural network model deployment method, prediction method and related equipment

A technology of neural network model and prediction method, which is applied in the direction of biological neural network model, neural learning method, reasoning method, etc., can solve the problem of difficulty in meeting the speed and real-time requirements of the neural network model, and achieve the improvement of speed and real-time performance, Improve versatility and reduce use limitations

Active Publication Date: 2019-06-21
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Generally speaking, neural network model training is carried out on the server and deployed on the server, which makes the prediction of the neural network model need to be carried out jointly by the terminal device and the server. For example, after the neural network model is trained, the terminal device obtains the prediction input data and Submitted to the server, the neural network model is predicted by the neural network model deployed on the server, which undoubtedly leads to certain difficulties in meeting the speed and real-time requirements of the neural network model prediction; The speed and real-time performance of the neural network model prediction provide the basis, which has become a problem that those skilled in the art need to consider

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 model deployment method, prediction method and related equipment
  • Neural network model deployment method, prediction method and related equipment
  • Neural network model deployment method, prediction method and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] 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 some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] The neural network model deployment method provided by the embodiment of the present invention can deploy the neural network model trained by the server on the terminal device, and at the same time can realize the general deployment of the neural network model trained by the server based on different learning frameworks to the terminal device; The general deployment of neural network models to terminal devices based on different learning frameworks such ...

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 neural network model deployment method, a prediction method and related equipment, and the method comprises the steps: reading an initial neural network model, and obtaining the layer definition of each network layer of the initial neural network model and the operation parameters of each network layer; according to the layer definitions of all the network layers, realizing corresponding target network layers of all the network layers in the terminal equipment by the Layer class, so that all the target network layers inherit the Layer class; connecting each target network layer by using a Net class; converting the operation parameter of each network layer into a predetermined format to obtain a target operation parameter of each network layer; andaccording to the target operation parameters of the network layers, loading the corresponding target operation parameters in the corresponding target network layers of the network layers to obtain atarget neural network model deployed in the terminal device. According to the embodiment of the invention, deployment from the neural network model to the terminal equipment can be realized, and the deployment universality from the neural network model to the terminal equipment is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a neural network model deployment method, a prediction method and related equipment. Background technique [0002] Neural network, especially convolutional neural network (CNN, Convolutional Neural Network), as an important branch of deep learning, has become a research hotspot in the fields of speech analysis and image recognition. The practical application of neural network is generally divided into neural network model training and neural network model prediction. [0003] Neural network model training can be understood as learning and adjusting the parameters of the neural network based on a large number of sample data to obtain the neural network model of the required function; neural network model prediction can be understood as being based on the trained neural network model. Predict the input data to perform calculations, determine the prediction results (such as...

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/063G06N3/04G06V10/764
CPCG06N3/063G06N3/105G06N3/08G06V10/82G06V10/764G06N3/048G06N3/045G06N20/00G06N5/046G06T1/20
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