Meta-learning-based code self-adaptive generation method
A code generation and self-adaptive technology, applied in neural learning methods, creating/generating source code, biological neural network models, etc., can solve problems such as inability to adapt quickly, damage generalization performance, and take a long time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0020] Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:
[0021] The present invention is a code adaptive generation method based on meta-learning, comprising the following steps:
[0022] S1: Build the training data set
[0023] Preprocess the code data obtained from the open source code database - first parse the code data into an abstract syntax tree, (AST); use the names of the non-terminal symbols in the program grammar to mark the syntax nodes, and the syntax tokens are marked with strings; After data flow (Data Flow) analysis and control flow (Control Flow) analysis, the relationship between the nodes in the abstract syntax tree in the data flow and control flow is obtained. For example, we add additional edges to represent these relationship information in the abstract syntax tree. After preprocessing, the code map containing the semantic information of the code context is obtained; a simple expr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com