首页>
外国专利>
A DEEP LEARNING MODEL FOR LEARNING PROGRAM EMBEDDINGS
A DEEP LEARNING MODEL FOR LEARNING PROGRAM EMBEDDINGS
展开▼
机译:学习程序嵌入的深度学习模型
展开▼
页面导航
摘要
著录项
相似文献
摘要
A system and method for using a deep learning model to learn program semantics is disclosed. The method includes receiving a plurality of execution traces of a program, each execution trace comprising a plurality of variable values. The plurality of variable values are encoded by a first recurrent neural network to generate a plurality of program states for each execution trace. A bi-directional recurrent neural network can then determine a reduced set of program states for each execution trace from the plurality of program states. The reduced set of program states are then encoded by a second recurrent neural network to generate a plurality of executions for the program. The method then includes pooling the plurality of executions to generate a program embedding and predicting semantics of the program using the program embedding.
展开▼