NobleBlocks

Research indexJournal article

An Automatic Code Generation Method Based on Sequence Generative Adversarial Network

Sun, Nie, Li and 3 others

1 Jul 2022

NobleIDark:/48914/w1/20260526/1F1DBC89DOI10.1109/dsc55868.2022.00059

Paywalled

The full text is at the publisher

You can read the abstract here, or open it at the publisher.

Read at the publisher

Abstract

Automatic code generation has been around for a long time, and the core technologies used are constantly evolving. Around application development work in the demand for high quality code generated rapidly, this paper proposes a automatic code generation method based on sequence generative adversarial network, the method adopts the adversarial learning thought, using LSTM as a generator, CNN as a discriminator, both through against each other to generate higher quality code samples. Experiment results show that this method can generate code automatically at the second level, and is significantly better than the existing methods in terms of generation rate and accuracy, which explores a new way of automatic code generation.

Discussion

Citations

Topics

More

Suggest a correction or report