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

Android-oriented deep learning model unified deployment system, method, device and medium

A technology for deep learning and deployment systems, applied in the field of unified deployment systems for deep learning models, which can solve the problems of lack of automatic resource management, complicated deployment operation APIs, and low level of runtime integration.

Pending Publication Date: 2021-04-23
北京大学(天津滨海)新一代信息技术研究院
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the technical problems of the existing technology, such as complicated deployment and operation API, lack of automatic resource management, and low integration level of runtime library

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
  • Android-oriented deep learning model unified deployment system, method, device and medium
  • Android-oriented deep learning model unified deployment system, method, device and medium
  • Android-oriented deep learning model unified deployment system, method, device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] like figure 1 Shown:

[0051]The present disclosure provides an Android-oriented deep learning model unified deployment system,

[0052] include:

[0053] The monitoring and statistics module is used to complete the monitoring and statistics of the entire system and log reading and writing;

[0054] The abstract adaptation module is used to provide the interpreter, model and / or data source required by the deep learning inference process;

[0055] The service module is used to provide a unified programming interface for Android applications.

[0056] Specifically, the unified deployment framework is mainly composed of three modules:

[0057] Abstract Adaptation Module: Provides three abstractions of interpreter, model, and data source required for deep learning inference tasks. For different underlying deep learning frameworks, including TensorFlow Lite, TVM, MNN, etc., adapt a corresponding specific interpreter singleton; for different model files, create model ins...

Embodiment 2

[0083] like figure 2 as shown,

[0084] The present disclosure can also provide a unified deployment method for Android-oriented deep learning models, which is applied to the unified deployment system for Android-oriented deep learning models in the first embodiment above, including:

[0085] S201: Initialize the unified deployment system;

[0086] Specifically, the S201 specifically includes:

[0087] Load data sources and / or models, initialize interpreter context.

[0088] S202: Construct an inference task and execute the inference task to obtain an execution result;

[0089] Specifically, the S202 specifically includes:

[0090] Create an inference task, specifying the model, data source, and / or interpreter and specifying actions before and after the task starts;

[0091] Load the single input data, call the interpreter to interpret the model, and calculate the execution result of the inference task;

[0092] The execution result of the inference task is obtained.

...

Embodiment 3

[0105] The present disclosure can also provide a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is used to implement the above-mentioned steps of the Android-oriented deep learning model unified deployment method.

[0106] The computer storage medium of the present disclosure may be implemented using semiconductor memory, magnetic core memory, magnetic drum memory, or magnetic disk memory.

[0107] Semiconductor memory, mainly used in computers, mainly has two types of semiconductor memory elements: Mos and bipolar. Mos components are highly integrated, the process is simple but the speed is slow. Bipolar components are complex in process, high in power consumption, low in integration but fast in speed. After the advent of NMos and CMos, Mos memory began to play a major role in semiconductor memory. NMos is fast, for example, the access time of Intel's 1K-bit SRAM is 45ns. CMos consumes less power...

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 technical field of deep learning, and particularly provides an Android-oriented deep learning model unified deployment system and method, a medium and equipment; the system comprises a monitoring statistics module which is used for completing the monitoring statistics and log reading and writing of the execution of the whole system; an abstract adaptation module which is used for providing an interpreter, a model and / or a data source required by the deep learning inference process; and a service module which is used for providing a unified programming interface for the Android application program. According to the method, a unified deployment framework of the mobile deep learning task is designed and realized, five mainstream mobile deep learning frameworks are integrated, software abstraction is set for the deep learning inference task, the interface heterogeneity of a bottom layer framework is shielded, and a unified programming interface is provided for an upper layer application program. The framework can be used for mobile application developers to quickly realize cross-framework and cross-hardware rear-end deep learning task deployment, and can also be used for framework development manufacturers to construct model accuracy benchmark tests, framework performance benchmark tests and the like.

Description

technical field [0001] The present disclosure relates to the technical field of deep learning, and more specifically, the present disclosure relates to an Android-oriented deep learning model unified deployment system, method, device and medium. Background technique [0002] With the significant improvement of the computing power of mobile devices and the wide application of sensor technology, a large number of scenarios for directly deploying and running deep learning tasks on mobile terminals have also emerged. Many deep learning framework manufacturers have also launched deep learning frameworks and model migration tools optimized for mobile computing for use by application developers. [0003] However, due to various limitations, the deployment of mobile deep learning tasks is not as convenient as described by framework manufacturers. These frameworks usually have problems such as complicated deployment operation API, lack of automatic resource management, and low level...

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): G06F8/60G06F11/36G06N20/00
Inventor 刘譞哲马郓向东伟黄罡姜海鸥
Owner 北京大学(天津滨海)新一代信息技术研究院