Meta-learning-based code self-adaptive generation method
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- NANJING UNIV OF AERONAUTICS & ASTRONAUTICS
- Publication Date
- 2020-12-22
Smart Images

Figure 1 
Figure 2
Abstract
Description
technical field
[0001] The invention relates to a method for self-adaptive code generation based on meta-learning, in particular to a method for self-adaptive code generation by using program static analysis, graph neural network technology and meta-learning technology, and belongs to the technical field of software engineering. Background technique
[0002] An integrated development environment (IDE) has become a fundamental paradigm for modern software engineers, providing a set of useful services to accelerate software development. Code generation (completion) is one of the most valuable features in an IDE, especially when the developer is new to the codebase. It can suggest the next possible code unit, such as a variable name or function call, including API calls. In recent years, researchers have proposed many code generation models, which use machine learning techniques to extract data from a large number of open source code databases for training. However, different ...