Code clone detection method based on GAT graph neural network model
A neural network model and detection method technology, which is applied in the field of code clone detection and code clone detection based on GAT graph neural network model, can solve the problems that the model cannot be used directly, and can improve the information feature extraction ability and granularity. The effect of being meticulous and improving the effect of training
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0039] The object of the invention is to solve the problem of code clone detection, and propose a code clone detection method based on a GAT graph neural network model. Add artificially defined additional edges to the abstract syntax tree AST of code fragments to obtain a graph representation structure. Compared with existing code graph representations such as PDG or CFG, this representation has a finer granularity and contains more information; Using the graph neural network model can learn the internal information of the code text graph to represent the information data. The attention mechanism used in it can pay more attention to the key part information of the code graph structure. Combined with the weight parameter sharing technology, the int...
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